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

Case statement returning "Bad character in format or data...." - response (1) by Qaisar Aftab Kiani

$
0
0
Seems like the column C_POL contains some characters data and in the case statement where you are casting the column to DECIMAL is causing the error because of the character data. Why don't you use the udf_isnumeric() to check whether the column contains the numerics or not before casting it in decimal.

Viewing all articles
Browse latest Browse all 27759

Trending Articles



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