Portal | IBM Manuals | Downloads | Products | Refer | Info | Programs | JCLs | Forum Rules*| Site Map | Mainframe CD 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index
 
Register
 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index FAQ Search Memberlist Usergroups Profile Log in to check your private messages Log in
 
Altering the column type and size

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DB2
Author Message
satyender

New User


Joined: 05 Jan 2008
Posts: 40
Location: hyderabad

PostPosted: Fri Sep 19, 2008 4:59 am    Post subject: Altering the column type and size
Reply with quote

Hi all,

I am using DB2 Version 8.1.
Can I Alter the table which is having the column name and size as
CHAR(32) into VARCHAR(4000), without dropping the table.(just doing reorg)

Please suggest me.

Thank all in advance.
Back to top
View user's profile Send private message
References
dick scherrer

Global Moderator


Joined: 23 Nov 2006
Posts: 8729
Location: 221 B Baker St

PostPosted: Mon Sep 22, 2008 10:32 am    Post subject:
Reply with quote

Hello,

Have you tried this?

What happened?
Back to top
View user's profile Send private message
ksk

Senior Member


Joined: 08 Jun 2006
Posts: 307
Location: Pune, India

PostPosted: Mon Sep 22, 2008 10:39 am    Post subject:
Reply with quote

Refer the below link.

http://www.techonthenet.com/sql/tables/alter_table.php
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DB2 All times are GMT + 6 Hours
Page 1 of 1