what is differnece between DROP TABLE & DELETE TABLE .

Answer Posted / siri

Drop : Drop table command it will remove table structure of the data base.....we can't rollback...
SYNTAX :- DROP TABLE TABLE-NAME..

DELETE : Delete table command it will delete rows from the table...for example i want delete empname in employee table i will write the query is.....
SYNTAX :- DELETE EMPNAME FROM EMPLOYEE

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is meant by dclgen?

831


If anyone has IBM Certification Dumps pls forward to me & also let me know what are the Certification Codes that are available in DB2

1782


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?

7343


Is db2 relational database?

722


What does db2 blu stand for?

863






When reorg is used?

843


How do you simulate the explain of an embedded sql statement in spufi/qmf?

819


What is the use of value function?

821


What is the maximum size of varchar data type in db2?

825


List out the data types available.

900


Following a db2 update statement, what is the quickest way to compute the total number of updated rows?

799


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

842


What are iseries servers?

740


In case if at some point of time db2 is down, would that impact the pre-compilation process of a db2-cobol program?

767


What do you mean by commit and rollback?

760