What does truncate mean?
In databases & SQL, truncate means to remove all rows from a table at once with TRUNCATE TABLE, keeping the table and its structure; it is much faster than deleting rows one by one.
Databases & SQL vocabulary · SQL Statements and Queries
In Turkish: tabloyu boşaltmak, truncate etmek
Also used in: Software Engineering
Type at least 2 characters to search all fields.
How it is used
TRUNCATE takes no WHERE clause and usually does not fire DELETE triggers. In MySQL and Oracle it commits immediately and cannot be rolled back; in PostgreSQL and SQL Server it can be rolled back inside a transaction. It often resets identity counters too.
Example sentences
Truncate the staging table before each import so old rows don't get mixed in.
Someone truncated the wrong table, and we had to restore it from last night's backup.
Common collocations
- truncate a table
- TRUNCATE TABLE
- truncate vs delete
- truncate and reload
Related terms
More terms: SQL Statements and Queries
Practise with graded reading
Reading at the right level is the fastest way to make new words stick. Pick free English books by level:
