Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Tue, 22 Apr 2003 @ 17:34:53 GMT


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


Subj:   Re: Is it possible to modify table?
 
From:   Walter, Todd A

Alter of an attribute in place only is allowed when the data layout does not have to change. Thus adding digits to -some- decimals will work but changing decimal precision will not. Changing max char var will work but changing fixed char length will not.

Another option for a very large table that is costly in space to copy is to alter adding a new column, update to set the new column value to the old, then alter dropping the old column. This will trade time/cost/complexity for space utilization. Insert select is faster and simpler but requires a lot of space for a large table.



     
  <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