Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Thu, 01 Oct 2009 @ 11:46:10 GMT


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


Subj:   Modfy data type in a table
 
From:   lakshmipriya.govindarajan

Hi Friends,

I have to alter the EMP_SALARY INTEGER to EMP_SALARY DECIMAL(18,0) without dropping the table. Also I cannot delete the records in the table.

Can someone help me in doing this modification to the below mentioned table.

     CREATE SET TABLE SMART_APP.TEMP ,NO FALLBACK ,
          NO BEFORE JOURNAL,
          NO AFTER JOURNAL,
          CHECKSUM = DEFAULT
          (
           EMP_ID  INTEGER,
           EMP_SALARY  INTEGER
          )
     PRIMARY INDEX ( EMP_ID );

Regards,

Priya.G



     
  <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: 27 Dec 2016