Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Fri, 03 Jun 2011 @ 17:58:05 GMT


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


Subj:   Re: Length Function
 
From:   Julio Zzqiga

Integer literals are associated to a numeric data type (e.g. BYTEINT, SMALLINT, INTEGER) depending on the value (100 is BYTEINT)

Each data type has a default format ( -(3)9, -(5)9 and -(10)9 in the previous examples)

Literals are implicitly converted to CHAR according to the default format, and that explains the lengths found.


Regards

Julio Zzqiga
3nergy Ltda.



     
  <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