I want to see a few examples about the use of truncate in SQL Server. Please guide me.
How to use truncate in SQL Server?
4 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 attend5days leftRegister
Vignesh ManiRank #98 · 22.1K reputationPosted Jul 21, 2015, 9:11 AM EDT
Vignesh ManiRank #98 · 22.1K reputationPosted Jul 21, 2015, 9:14 AM EDT
Jignesh TrivediRank #16 · 50.3K reputationPosted Jul 21, 2015, 8:05 PM EDT
It removes all the row from the table or specified partition of the table. truncate table is same as Delete table with out where condition and truncate table is faster than delete table
Please refer below link
https://msdn.microsoft.com/en-in/library/ms177570.aspx
Govinda Rajulu YemineniRank #1,517 · 1K reputationPosted Jul 21, 2015, 8:10 PM EDT