Major difference between DELETE, DROP & TRUNCATE commands
what is the major difference between DELETE, DROP & TRUNCATE commands in database ...?
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
VulpesRank #55 · 29.2K reputationPosted Nov 10, 2013, 7:06 AM EST
TRUNCATE removes all rows from a datatable, but unlike DELETE, doesn't log the individual deletions. It therefore executes faster and requires fewer resources.
DROP removes the datatable or view itself from the database though it can also remove other stuff such as stored procedures and user defined functions.