Skip to content
Skills
Problems
Questions
Roles
Skills
Interview
Contest
Leaderboard
Problems
Questions
Roles
Skills
Interview
Contest
Leaderboard
Home
/
Database Administrator
/
Easy
/
DELETE vs TRUNCATE
easy
5 pts · first answer counts
sql
DELETE vs TRUNCATE
Which statement about DELETE and TRUNCATE is correct?
Choose one answer
A.
TRUNCATE can remove selected rows using a WHERE clause
B.
DELETE removes the table definition along with the rows
C.
They behave the same; TRUNCATE is only a shorter name
D.
TRUNCATE removes all rows quickly without a WHERE clause, while DELETE can remove selected rows and fires row-level triggers
Submit answer
Report a problem
← Least privilege for an app user
Filtering rows where a value is NULL →