Cognizant interview question

What does truncate keyword do in MySQL?

Interview Answer

Anonymous

Jan 4, 2024

Truncate keyword is used to remove all the rows in a relation without removing the whole relation schema.