📞 0339-0387701 (WhatsApp) Contact

« Back to Database & Data Handling (NCCIA)

What does TRUNCATE TABLE do?

A. Deletes the database
B. Deletes the table structure
C. Deletes all rows quickly and resets identity values ✅
D. Deletes only one row

Correct Answer: C. Deletes all rows quickly and resets identity values

Explanation

TRUNCATE removes all rows from a table, is faster than DELETE for emptying a table, and does not log each row deletion.