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 meant by explain?

662


What is a page in db2?

612


How is deadlock resolved?

650


Differentiate between cs and rr isolation levels? Where do you specify them?

587


Are views updateable?

647






Which component is responsible for db2 startup and shutdown?

630


Is ibm db2 free?

577


What is dpf in db2?

666


How can we retrieve the total number of records in RPG & CLLE?

203


What is the difference between db2 and oracle?

682


Suppose pgm A calling Pgm B .Pgm B has some Db2 program. at the time of compilation should plan and package will be created for both A and B or only B? What is the concept?

6862


What is the role of the data page in the db2 database?

589


What is table space in db2?

584


I HAVE 500 ROW TO UPDATE I WOULD LIKE TO USE ROLLBACK ALONG WITH COMMIT.WHAT IS THE SYNTAX TO CODE COMMIT AND ROLLBACK FOR EVERY 100 ROWS.AND HOW THE CURSOR ROLLBACK TO THE LAST COMMITTING POINT.

2757


What is coalesce in db2?

682