Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Tue, 10 Oct 2006 @ 13:59:26 GMT


     
  <Prev Next>   <<First <Prev Next> Last>>  


Subj:   Re: Overflow occurred computing an expression
 
From:   giriraj.verma

Hi,

Even though your query might be working pefectly, but you would be interested to check actual value populated into your teradata table.

e.g

     select ('12345678901234567.90')(decimal(18,1))

returns

     12345678901234568.0

Actually, There should not be any issue with your orginal query. It could be a data quality problem. Which means you might have more that 15 significant digits when you are casting to (17,2). That's why it worked for 18,1.


Thanks



     
  <Prev Next>   <<First <Prev Next> Last>>  
 
 
 
 
 
 
 
 
  
  Top Home Privacy Feedback  
 
 
Copyright for the TeradataForum (TDATA-L), Manta BlueSky    
Copyright 2016 - All Rights Reserved    
Last Modified: 15 Jun 2023