Re: Method to detect certain characters in column?

Поиск
Список
Период
Сортировка
От Tino Wildenhain
Тема Re: Method to detect certain characters in column?
Дата
Msg-id 48606FDC.60406@wildenhain.de
обсуждение исходный текст
Ответ на Re: Method to detect certain characters in column?  ("Ian Meyer" <ianmmeyer@gmail.com>)
Ответы Re: Method to detect certain characters in column?  ("Ian Meyer" <ianmmeyer@gmail.com>)
Список pgsql-general
Hi Ian,

Ian Meyer wrote:
> Ah, so I forgot to mention the one caveat to this (sorry!) was there
> was a ton of punctuation/spaces and other ilk.. so this is what I came
> up with:
>
> bco=# select name from member where not (name ~ '^[A-Za-z0-9[:punct:] ]*$');
>          name
> ----------------------
>  Señorita Lolita
>  Long Pig
>  täkäurgh
>  blåbärsöl
>  fuchér MkII
>  fuchér ver2.0
>  Gûm-ishi Ashi Gurum
>  kängnäve
>  Fuchér-version 2.1
>  fuchÃ(c)r

Uh, is that really the name as it should be? To me it
looks much more like UTF-8 stored in SQL-Ascii. Maybe
converting it correctly would help?

Cheers
Tino


Вложения

В списке pgsql-general по дате отправления:

Предыдущее
От: "Michael Shulman"
Дата:
Сообщение: what are rules for?
Следующее
От: "Ian Meyer"
Дата:
Сообщение: Re: Method to detect certain characters in column?