Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Delete a column from a table!

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DB2
View previous topic :: :: View next topic  
Author Message
J.P.R.Kumar

New User


Joined: 02 Apr 2008
Posts: 11
Location: Chennai

PostPosted: Mon Jun 01, 2009 2:38 pm    Post subject: Delete a column from a table!
Reply with quote

Hi,
I would like to delete a column from a table.
Should i drop the table to do that and recreate it again?
Can somebody guide me on that?

Thanks,
Phani
Back to top
View user's profile Send private message

guptae

Moderator


Joined: 14 Oct 2005
Posts: 1187
Location: Bangalore,India

PostPosted: Mon Jun 01, 2009 3:19 pm    Post subject:
Reply with quote

Hello Phani,

Only easy to delete the column from Db2 table is to drop the table & create it again without unwanted column.
Back to top
View user's profile Send private message
Escapa

Senior Member


Joined: 16 Feb 2007
Posts: 1399
Location: IL, USA

PostPosted: Mon Jun 01, 2009 3:45 pm    Post subject:
Reply with quote

Hi Phani,

It is discussed so many times....

http://www.ibmmainframes.com/viewtopic.php?t=7539&highlight=delete+column
http://www.ibmmainframes.com/viewtopic.php?t=20931&highlight=delete+column
http://www.ibmmainframes.com/viewtopic.php?t=2955&highlight=delete+column
http://www.ibmmainframes.com/viewtopic.php?t=18603&highlight=delete+column
http://www.ibmmainframes.com/viewtopic.php?t=25751&highlight=delete+column
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DB2 All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Update table without cursor Ron Klop DB2 3 Wed Oct 11, 2017 1:06 pm
No new posts Table(Unicode(Graphic) table) loading... muralikrishnan_new DB2 0 Thu Oct 05, 2017 5:10 pm
No new posts Insert a Row_number into table useit DB2 2 Tue Sep 19, 2017 1:07 pm
No new posts column with count of rows within dist... ronald wouterson DB2 4 Sun Sep 17, 2017 9:48 pm
No new posts how to see when the last read access ... Mike 1304 DB2 1 Tue Sep 12, 2017 7:52 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us