Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Wed, 08 Dec 2004 @ 18:40:49 GMT


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


Subj:   Unusable DECIMAL(17)
 
From:   Anomy Anom

<-- Anonymously Posted: Wednesday, December 08, 2004 12:59 -->

Hi,

I am not able to add anything to DECIMAL(17) datatype. The result is always FLOAT with lower precision.

     --- returns 10000000000000000 !!!!!!!!!!
     --- equals  10000000000000001

     SELECT ((10000000000000000 (DECIMAL(18,0))) + ( 1 (DECIMAL(18,0)) ) (DECIMAL(18,0)) );
     SELECT ((10000000000000000 (DECIMAL(17,0))) + ( 1 (DECIMAL(17,0)) ) (DECIMAL(17,0)) );
     SELECT (10000000000000000 (DECIMAL(18,0))) + 1;

     --- Queryman

     /* Select * From dbc.DBCInfo Order By 1 Desc;
      InfoKey InfoData
      VERSION 05.01.01.10
      RELEASE V2R.05.01.01.02
     */


     
  <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: 27 Dec 2016