what is differnece between DROP TABLE & DELETE TABLE .
Answer Posted / samir kumar sahoo.
in DROP TABLE command it will remove the table containts as
well as table structure from the database catalog, also it
release all the storage space it has acquired previously.
we can't rollback it as it is a ddl command.
but in case of DELETE TABLE command it just delete all the
records but not relaese the spaces it acquires .it can be
rollback as it is a dml command.
| Is This Answer Correct ? | 17 Yes | 0 No |
Post New Answer View All Answers
What is the function of logging in the db2 database?
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 ?...
What action db2 takes when a program aborts in the middle of a transaction?
What is a bind in db2?
Are views updateable?
What is db2 optimizer?
What are bind parameters in db2?
Why db2 is called db2?
Which isolation level provides maximum concurrency?
What is cascading rollback?
What is dbrm? What it contains? When it will be created?
What are the contents of dclgen?
by using cursors , we can access particular records from the table based on some condition, i want to delete those selected records, how can we write a query for this in the program?
What is the advantage in De-normalizing tables in DB2?
How do you eliminate duplicate values in db2?