Quantcast
Channel: Teradata Forums - Database
Viewing all articles
Browse latest Browse all 14773

Error while casting to decimal! - response (8) by dnoeth

$
0
0

What patch level are you running?
There have been a few Tech Alerts regarding NUMBERs and calculation/cast/rounding, you probably run into one of them. Most are fixed, but this is open:
NT3194 Rounding error with casting NUMBER(*) to CHAR/VARCHAR
You might try to avoid the NUMBER by replacing the POWER(b.col2,2) with CAST(b.col2 as DEC(38,2)) * b.col2
Dieter


Viewing all articles
Browse latest Browse all 14773

Trending Articles



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