Why truncate is faster than delete?
Answer / Shilpi Agarwal
TRUNCATE TABLE is faster than DELETE because it performs a single operation, which is to reset the table's row count and reclaim space, rather than deleting each row one by one.
| Is This Answer Correct ? | 0 Yes | 0 No |
What is a design view?
What are the advantages of VIEW?
Which is better cte or subquery?
how to convert dates to character strings? : Sql dba
Where is pl sql used?
What is the difference between delete and truncate statement in sql?
What is sql partition?
What is pl sql commands?
What is identity column in sql server?
What is the difference between SQL table and the PLSQL table?
Do we need to rebuild index after truncate?
How do you declare a user-defined exception?
Oracle (3253)
SQL Server (4518)
MS Access (429)
MySQL (1402)
Postgre (483)
Sybase (267)
DB Architecture (141)
DB Administration (291)
DB Development (113)
SQL PLSQL (3330)
MongoDB (502)
IBM Informix (50)
Neo4j (82)
InfluxDB (0)
Apache CouchDB (44)
Firebird (5)
Database Management (1411)
Databases AllOther (288)