
Asked in TCS and 33 others
What are the differences between DELETE, DROP, and TRUNCATE?

AnswerBot
1mo
Delete removes specific rows, Drop removes entire tables, and Truncate clears all rows quickly without logging.
DELETE: Removes specific rows based on a condition. Example: DELETE FROM users WHERE age ...read more
Anonymous
1y
DROP and TRUNCATE are DDL command while DELETE is a DML command. DELETE remove the specific row based on the given condition, TRUNCATE removes all the record from the table at once, whereas the DROP c...read more
Anonymous
1y
DELETE: Removes specific rows from a table based on a condition. TRUNCATE: Removes all rows from a table, resetting identity columns, but retains the table structure. DROP: Removes an entire table or ...read more
kapil singh
2y
Delete is a dml.and truncate or drop is ddl.the delete data can be rollback. Truncate can not be rollback .and drop can not be rollback .the delete are used to delete one row and all based on where co...read more
Anonymous
2y
TRUNCATE deletes all the rows from the table,
DROP deletes entire table permanently, and
DELETE deletes one or more records from the existing table.
Add answer anonymously...
Interview Questions from Popular Companies

3.7
• 8.7k Interviews

4.0
• 5.4k Interviews

3.5
• 4.2k Interviews

3.6
• 8k Interviews

3.7
• 6k Interviews

3.7
• 6.2k Interviews

3.5
• 4.2k Interviews

3.7
• 5.1k Interviews
Stay ahead in your career. Get AmbitionBox app


Trusted by over 1.5 Crore job seekers to find their right fit company
80 L+
Reviews
10L+
Interviews
4 Cr+
Salaries
1.5 Cr+
Users
Contribute to help millions
AmbitionBox Awards
Get AmbitionBox app

