Quantcast
Channel: Teradata Forums - All forums
Viewing all articles
Browse latest Browse all 27759

validate whether cast will work or not - response (1) by Makuma

$
0
0

I believe the only chance you would face this is while casting some non-numeric to a numeric data type. If so, please see if you have got is_num() function available in your DB. 
is_num (100) returns 100
while
is_num(world1000) returns null ...
 
so you can nail that record by checking the is_NUM() is null!
hope this helps


Viewing all articles
Browse latest Browse all 27759

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>