Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

How to delete a column from a DB2 Table

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DB2
View previous topic :: :: View next topic  
Author Message
rizwanriwa

New User


Joined: 15 May 2007
Posts: 2
Location: banglore

PostPosted: Wed May 16, 2007 3:37 pm    Post subject: How to delete a column from a DB2 Table
Reply with quote

i want to delete a column and how rto delete a column help me in sql.
Back to top
View user's profile Send private message

pyar
Warnings : 1

New User


Joined: 15 May 2006
Posts: 4

PostPosted: Wed May 16, 2007 7:59 pm    Post subject: Re: to delete a column
Reply with quote

It is not possible to delete the column in DB2

Thanks
pyar
Back to top
View user's profile Send private message
vijayakumar.yellala

New User


Joined: 19 Apr 2006
Posts: 63
Location: Chennai

PostPosted: Thu May 17, 2007 2:49 pm    Post subject: Re: How to delete a column from a DB2 Table
Reply with quote

HI,


if u want to delete a column from a table, U have to create new table without that column, and copy from old table to new table..... like that we can do.

Please correct me if i am worng

Regards
Vjay
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 DB2 query Using Recursion, Converting... smilewithashu2 DB2 1 Tue Jan 03, 2017 12:50 pm
No new posts SQL query to run through list of valu... Ni3-db2 DB2 14 Wed Dec 14, 2016 9:52 am
No new posts JCL to delete component in a package sundaram.naveen Compuware & Other Tools 14 Tue Nov 29, 2016 6:21 pm
No new posts SQZ pipe delimited file with 1 column... Rick Silvers DFSORT/ICETOOL 2 Sun Nov 06, 2016 8:11 pm
No new posts How to delete second instance from Fl... Gunapala CN DFSORT/ICETOOL 6 Tue Oct 18, 2016 11:42 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us