Reputation: 26174
When we Truncate Table in SQL then all the all records from but table exist. I want to know constraints,indexs remain exist or not ?
Upvotes: 0
Views: 132
Reputation: 438
Your constraints and indexes will remain. Truncate also resets any auto-incremented IDs to zero.
Upvotes: 1