can we drop column from a table

Answer Posted / rbs

yes we can drop, but column should not have any data.
eg: ALTER TABLE <TB NAME> DROP COLUMN Col-name.

Is This Answer Correct ?    3 Yes 10 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is the responsibility of the construction superintendent

1660


What is package in db2 mainframe?

555


While unloading huge amount of data from table. Suddenly job failed some error. Imagine 1M data unloading, In that 90% data unloaded only 10% left, So if want to unload the rest 10% what needs to be done? Whether do i need to start from top or anything ?

1816


What is a collection in db2?

579


What is table space in db2?

576






How to execute stored procedures?

618


What is the syntax for seeing the columns and data types of a table in the db2 database?

576


ther r 2 tables OTTABLE & SALTABLE, add the otamt from OTTABLE to empsal of SALTABLE if eid is matched else add the unmatched from OTTABLE to SALTABLE

1593


When reorg is used?

668


What's The Percentage Free Space ?

764


What is db2 bind?

636


What is iseries database?

593


What is db2 stogroup?

673


Explain db2.

608


How to test SQL -911 error while developing COB-DB2 program

6706