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

Error while casting to decimal! - response (2) by barani_sachin

$
0
0

Dieter,
    The datatype for the column is output of an expression (col1*col2* and sumthing lyk dis).
The result has almost 55Mill distinct values, so i am not sure where it is failing and still if u want i can post some sample data?
Also i checked the max and min in the resultset it is well within the range of decimal(38,2); Also i casted them individually and it works fine too!
I am not sure whehter it will help or not : When i tried to create a volatile table with "with data" and this select statement inside, The table is being created with Number Datatype.


Viewing all articles
Browse latest Browse all 27759

Trending Articles



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