IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Changing DB2 column type


IBM Mainframe Forums -> DB2
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
NIKO

New User


Joined: 05 Nov 2007
Posts: 2
Location: BANGALORE

PostPosted: Tue Nov 06, 2007 7:39 am
Reply with quote

How to change dB2 date type once you already created?

Title edited
Back to top
View user's profile Send private message
vasanthkumarhb

Active User


Joined: 06 Sep 2007
Posts: 275
Location: Bang,iflex

PostPosted: Tue Nov 06, 2007 9:09 am
Reply with quote

Hi,


You cannot change the data type which is already assisgned to the variable, but you can add the new column to the existing table using ADD COLUMN DB2 statement.

Pls refer the link below.

publib.boulder.ibm.com/infocenter/db2luw/v8/index.jsp?topic=/com.ibm.db2.udb.cc.doc/db2_udb/taalta2w.htm

Regard's
Vasanth......... icon_smile.gif
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> DB2

 


Similar Topics
Topic Forum Replies
No new posts Replacing 'YYMMDD' with date, varying... SYNCSORT 3
No new posts How to load to DB2 with column level ... DB2 6
No new posts RC query -Time column CA Products 3
No new posts changing defaults in db2 admin - Unlo... DB2 0
No new posts first column truncated in search result IBM Tools 13
Search our Forums:

Back to Top