Professional Documents
Culture Documents
Let us see the difference between DELETE and TRUNCATE commands are as
follows:
Delete Truncate
The DELETE command is used to While this command is used to delete all the
delete specified rows(one or more). rows from a table.
In the DELETE command, a tuple is While in this command, the data page is
locked before removing it. locked before removing the table data.
To use Delete you need DELETE To use Truncate on a table we need at least
permission on the table. ALTER permission on the table.
Similar Reads
1. Difference between DELETE, DROP and TRUNCATE
Previous Next
Article Contributed By :
MKS075
MKS075
Vote for difficulty
Current difficulty : Easy
feedback@geeksforgeeks.org
Company Explore
About Us Job Fair For Students
Java String
C++ Linked List
PHP Stack
GoLang Queue
SQL Tree
R Language Graph
Android Tutorial
Searching CSS
Greedy JavaScript
Recursion AngularJS
Backtracking NodeJS
Engineering Maths
NLP Tutorial
Aptitude
Commerce UPSC
Management