Search Postgresql Archives

Re: Method to detect certain characters in column?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



"Ian Meyer" <ianmmeyer@xxxxxxxxx> 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


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux