In SQL, which command is used to remove all rows from a table without deleting the table structure?

  • ADELETE
  • BDROP
  • CTRUNCATE
  • DREMOVE
Show answerHide answer

Correct answer C

TRUNCATE removes all rows from a table but keeps the table structure intact. It is faster than DELETE because it does not log individual row deletions. DELETE can remove specific rows and can be rolled back. DROP deletes the entire table structure and data. REMOVE is not a valid SQL command.