Remove all rows quickly without dropping the table.
Section: CREATE, ALTER, and DROP
Truncate table
sql
sql
TRUNCATE TABLE staging_events;Explanation
TRUNCATE is often faster than DELETE for clearing a table.
Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing CREATE, ALTER, and DROP