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 do you mean by storage group (stogroup)?

745


What is bind plan?

789


What is the purpose of using commit?

806


What is db2 and what is the use of db2 optimizer?

816


What's The Error Code For Unique Index Voilation?

845






What does runstats do in db2?

755


What is cobol db2?

726


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

823


What is the difference between nvl and coalesce?

785


run jcl for cobol+db2 pgm?.. //jobcard //step001 exec pgm=ikjeft01 //systin dd * DSNSYSTEM(--------) RUN PROGRAM(MYPGMNAME) PLAN(-----), LIB(-------), PARMS(------) /* WHAT WILL U GIVE INSIDE THE BRACKETS... WHAT IS PLAN,PACKAGE,BIND?..PLAN N PACAKGES ARE GENERATED BY ?...

4027


How can record locking be achieved in those DB2 versions which do not support it?

812


What is a db2 schema?

961


What are the different types of base tables?

744


Where do you specify them?

861


What is buffer pool?

827