Search Postgresql Archives

Re: Checking for a number

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

 



--- Osvaldo Rosario Kussama <osvaldo_kussama@xxxxxxxxxxxx> wrote:
> Try:
> SELECT your_field ~ '.*[[:digit:]]{2}$';

This could be simplified a little. :o)

WHERE your_field ~ '\\d{2}$';


[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