Re: Method to detect certain characters in column?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Method to detect certain characters in column?
Дата
Msg-id 4568.1214263085@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Method to detect certain characters in column?  ("Ian Meyer" <ianmmeyer@gmail.com>)
Список pgsql-general
"Ian Meyer" <ianmmeyer@gmail.com> writes:
> So I have a column that contains usernames that have characters such
> as �(c)(R), for example: fuch�(c)r.. is there any way to find names
> with non A-Za-z0-9?

Hmm, none of the responses so far look right to me.  How about

    WHERE NOT (col ~ '^[A-Za-z0-9]*$')

            regards, tom lane

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

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: Method to detect certain characters in column?
Следующее
От: Steve Atkins
Дата:
Сообщение: Re: Method to detect certain characters in column?