Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

oracle check numeric

SELECT CASE
           WHEN trim(translate(col1, '0123456789-,.', ' ')) IS NULL
               THEN 'numeric'
           ELSE 'other'
           END
FROM table_name;
 
PREVIOUS NEXT
Tagged: #oracle #check #numeric
ADD COMMENT
Topic
Name
1+1 =