InterviewSolution
Saved Bookmarks
| 1. |
What Is The Difference Between Truncate And Delete Commands? |
|
Answer» Both will RESULT in deleting all the ROWS in the table .TRUNCATE call cannot be ROLLED back as it is a DDL command and all memory space for that table is released back to the server. TRUNCATE is much faster.Whereas DELETE call is an DML command and can be rolled back. Both will result in deleting all the rows in the table .TRUNCATE call cannot be rolled back as it is a DDL command and all memory space for that table is released back to the server. TRUNCATE is much faster.Whereas DELETE call is an DML command and can be rolled back. |
|