can we drop column from a table

Answer Posted / nitesh

yes we can drop any column
ALTER TABLE <TABLENAME> DROP COLUMN <COLUMNNAME>
e.g ALTER TABLE EMP DROP COLUMN NAME

Is This Answer Correct ?    20 Yes 36 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Which are the db2 tools to protect integrity of the database?

875


Mention the various locks that are available in db2.

765


What is the maximum size of a char data type in db2?

753


How many databases are there?

757


Mention the downsides of page level lock.

904






What is ibm db2 database?

710


What's The Error Code For Unique Index Voilation?

845


What is the default page size of buffer pools?

847


When reorg is used?

843


How can you find out the # of rows updated after an update statement?

840


What is dbrm? When it will be created?

761


Are view updateable?

797


define clustering index.

791


How can you quickly find out the # of rows updated after an update statement?

781


What do you mean by rollback?

733