Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Tue, 05 Mar 2002 @ 11:30:50 GMT


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


Subj:   Re: On ALTER TABLE
 
From:   David Wellman

Hi,

I think the reason that you're not getting any error message is because the ALTER TABLE statement can do more than simply add/remove columns.

It can also be used to change some attributes of an existing column. For instance you can add a FORMAT clause to an existing column, and in your case I think the DBMS is interpreting your request as that type of request.

For instance, if you issue the following commands;

create table t1 (a int, b int);

show table t1;

alter table t1
add a format '9999';

show table t1;

The two "show table" commands will give different results.


Hope that helps,

Dave

Ward Analytics Ltd: Information in motion (www.ward-analytics.com)



     
  <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