/ Published in: SQL
Check if a value is an integer using a POSIX Regular Expression
Expand |
Embed | Plain Text
SELECT * FROM locations WHERE REGEXP_LIKE(postal_code, ^[[:digit:]]+$');
You need to login to post a comment.
Check if a value is an integer using a POSIX Regular Expression
SELECT * FROM locations WHERE REGEXP_LIKE(postal_code, ^[[:digit:]]+$');
You need to login to post a comment.