can we drop column from a table

Answer Posted / kumar

It is not possible directly. Indirectly we could do it.
Create a view by eliminating the column (th one to be
deleted). Drop the table or create a new table. Copy from
the view to the newly created table. Pl correct if I'm
wrong.

Is This Answer Correct ?    7 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the rules for db2 programming?

818


What is plan in cobol db2?

766


How do I optimize a query in db2?

802


How to fetch the last row from the table in SQL (db2)?

1275


What is db2 optimizer?

975






Is schema the same as database?

805


How to get the ddl of a table in db2?

848


Which is faster delete or truncate?

858


What is iseries database?

768


Mention the way of highlighting as well as putting a cursor to use in a cobol program.

823


Is db2 a database?

722


What is dbrm?

841


If I have a view which is a join of two or more tables, can this view be updateable?

885


Highlight all the advantages that are attached to a package.

853


What is an instance database?

790