Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Wed, 14 Nov 2012 @ 22:15:55 GMT


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


Subj:   Increase a column length
 
From:   JAMES PARK

A column of a table is defined as CHAR(40)

Can I increase the length with this command?

     alter table dbname.tbname
     add columname CHAR(50);

When I ran the command it failed.

I am thinking one way to do this is to create a new table with the new column and insert into the new table and drop the old table.


James Park
Database Specialist II



     
  <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