Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Wed, 11 Dec 2002 @ 22:29:05 GMT


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


Subj:   DEFAULT values for a new Column
 
From:   Anomy Anom

<-- Anonymously Posted: Wednesday, December 11, 2002 10:36 -->

Does anyone know if the following is possible :

Adding a new column to an existing table, using the ALTER statement and set the DEFAULT value to the value of another column in the same table, instead of a hard coded DEFAULT value, as is normally the case? (I realize the same can be achieved by moving all the data to a new table containing the new column, dropping the old and renaming the new etc.., but was hoping for a less involved solution)



     
  <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