Home Page for the TeradataForum
 
https:

Archives of the TeradataForum

Message Posted: Tue, 28 Aug 2007 @ 12:45:16 GMT


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


Subj:   Re: CHAR(1) Vs BYTEINT
 
From:   Rob Paller

I forgot to add that you would have to include a check constraint on the column as a character data type to make sure that non-numeric data was not stored in the column.

As DECIMAL(1,0) you would be limited to a range of -9 to 9. A check constraint would be prudent to make sure that the data captured is a positve number.



     
  <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: 28 Jun 2020