English

Give any two differences between DELETE command and TRUNCATE command.

Advertisements

Question

Give any two differences between DELETE command and TRUNCATE command.

Distinguish Between
Advertisements

Solution

Basis DELETE TRUNCATE
Type of command It is a DML (Data Manipulation Language) command It is a DDL (Data Definition Language) command
Deletion of records Deletion of records Deletes specific rows using a WHERE clause
shaalaa.com
  Is there an error in this question or solution?
2024-2025 (March) Official Board
Advertisements
Share
Notifications



      Forgot password?
Use app×