If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > DB2 > Alter table v8 - change CHAR length

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 08-06-04, 10:14
J Petruk J Petruk is offline
Registered User
 
Join Date: Mar 2004
Location: Toronto, ON, Canada
Posts: 513
Alter table v8 - change CHAR length

I was reading this:
http://www.dbazine.com/mullins_onlineschema.shtml

Sounds like on DB2 V8 for z/OS you can change CHAR(n) to CHAR(n+x) with an ALTER TABLE command:

ALTER TABLE TEST
ALTER COLUMN TESTCOL
SET DATATYPE CHAR(100);

Sounds like an excellent feature! Anyone know if it's coming to DB2 for Linux/Windows/Unix? Right now it's limited to expanding VARCHARs. I'm sick of export, drop, create, import...

I didn't see it in the Stinger list either.
__________________
--
Jonathan Petruk
DB2 Database Consultant
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On