Is there an inbuilt DB2 function or any query to check if the character i have is a number? (I cannot use user defined functions)
Doc Link
CASE WHEN LENGTH(RTRIM(TRANSLATE(test_str, '*', ' 0123456789'))) = 0 THEN 'All digits' ELSE 'No' END
1.4m articles
1.4m replys
5 comments
57.0k users