Multiple choice

Which of the following statements is correct?

  1. TRUNCATE is a DDL statement, while DELETE is a DCL statement.

  2. TRUNCATE is a DML statement, while DELETE is a DDL statement.

  3. TRUNCATE is a DML statement, while DELETE is a DCL statement.

  4. TRUNCATE is a DDL statement, while DELETE is a DML statement.

  5. TRUNCATE is a DCL statement, while DELETE is a DDL statement.

Reveal answer Fill a bubble to check yourself
D Correct answer
Explanation

TRUNCATE is a DDL (data definition language) statement, while DELETE is a DML (data manipulation language) statement.