Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Thu, 01 Oct 2009 @ 12:28:58 GMT


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


Subj:   Re: Modfy data type in a table
 
From:   Singh, Lakhwant

I would think the best way would be:

1. Create a New table with same structure as Old table but with new data-type i.e. Decimal(18,0) for the column EMP_SALARY 2. Then, INSERT data into the NEW empty table from the Old table 3. Drop OLD table 4. And Last, Rename NEW table to the OLD table.


Thanks

Lakhwant



     
  <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