Cognizant interview question

What does truncate keyword do in MySQL?

Interview Answer

Anonymous

4 Jan 2024

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