hi
What is the difference Truncate and Drop command in SQL Server?
Drop in SQL
2 Answers
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 attend4days leftRegister
VulpesRank #55 · 29.2K reputationPosted Dec 9, 2011, 1:41 AM EST
http://www.c-sharpcorner.com/Forums/Thread/134569/what-is-the-difference-between-drop-delete-and-truncate.aspx
Satyapriya NayakRank #47 · 31.5K reputationPosted Dec 9, 2011, 1:47 AM EST
Drop means removing the existing object from the database (Both data and structure of the table gets removed).
Truncate will delete only the data while Keeping the structure of the table as it is.
Thanks