2009/7/28 Tatu <[email protected]>:
> Bom dia. Existe no postgresql alguma função que me retorne false ou true se
> uma cadena de caracteres é ou não numérico.???, ou vou ter que fazer na unha
> ??
>


Talvez algo do tipo:
bdteste=# SELECT '0123' ~ '[[:digit:]]+';
 ?column?
----------
 t
(1 registro)

http://www.postgresql.org/docs/current/interactive/functions-matching.html#FUNCTIONS-POSIX-REGEXP

Osvaldo
_______________________________________________
pgbr-geral mailing list
[email protected]
https://listas.postgresql.org.br/cgi-bin/mailman/listinfo/pgbr-geral

Responder a