what is differnece between DROP TABLE & DELETE TABLE .

Answer Posted / durga prasad

drop table deletes the entire structure from the database
and it also removes entry from syscat.tables. but where as
delete table only deletes the rows in the table.

Is This Answer Correct ?    8 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do I import a csv file into db2?

564


How do you stop a db2 database in linux?

570


What is a db2 package?

601


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

657


What are the two types of logging in the db2 database? Explain them.

582






What are union and union all?

541


How to find schema of a table in db2?

572


What is the cobol picture clause of the db2 data types date, time, timestamp?

621


What is database reorganization?

591


What is bind and rebind in db2?

652


what is a corelated subquerry?

662


What are the bind parameters ibm db2?

624


What is db2 bind process?

761


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 ?

1823


before altering a table is it necessary to lock ? if lock what is it ? how to do ? ifi want to lock a table what is that command ?

1716