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

Delete a column from a table!


IBM Mainframe Forums -> DB2
Post new topic   Reply to topic
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
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: 1208
Location: Bangalore,India

PostPosted: Mon Jun 01, 2009 3:19 pm
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
Reply with quote

Hi Phani,

It is discussed so many times....

www.ibmmainframes.com/viewtopic.php?t=7539&highlight=delete+column
www.ibmmainframes.com/viewtopic.php?t=20931&highlight=delete+column
www.ibmmainframes.com/viewtopic.php?t=2955&highlight=delete+column
www.ibmmainframes.com/viewtopic.php?t=18603&highlight=delete+column
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 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 DELETE SPUFI DB2 1
No new posts Load new table with Old unload - DB2 DB2 6
No new posts DSNTIAUL driven delete IBM Tools 0
No new posts Pulling a fixed number of records fro... DB2 2
Search our Forums:

Back to Top