QuestionQ18

VerifiedManipulating Data

Which statement about TRUNCATE and DELETE is true?

Explanation

For large tables, TRUNCATE is generally faster than DELETE because it empties the table without individually processing every row. MySQL documents that TRUNCATE drops and re-creates the table, making it much faster than deleting rows one by one, particularly for large tables.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!