ashu singh


{ City } madurai
< Country > india
* Profession * student
User No # 32640
Total Questions Posted # 0
Total Answers Posted # 1

Total Answers Posted for My Questions # 0
Total Views for My Questions # 0

Users Marked my Answers as Correct # 13
Users Marked my Answers as Wrong # 2
Questions / { ashu singh }
Questions Answers Category Views Company eMail




Answers / { ashu singh }

Question { 6108 }

difference between truncate and delete ,drop?


Answer

Drop deletes the table along with its structure from the database.
Delete command deletes the records from the table and it also deletes the table space allocated in the database.

Truncate is similar to Delete but it does not delete the table space from the database.

Drop and Truncate are the DDL command hence can't be rolled back whereas Delete is a DML command and can be rolled back.

Is This Answer Correct ?    13 Yes 2 No