Question 156

The TRUNCATE command:

  1. ACan always be rolled back
  2. BRemoves the table structure
  3. CRemoves selected rows with WHERE
  4. DRemoves all rows but keeps the table structure
Show answerHide answer

Correct answer: (D) Removes all rows but keeps the table structure

Explanation

TRUNCATE is a DDL command that empties the table.

From DSSSB TGT Computer Science Full Mock Test 2

This is question 156 of DSSSB TGT Computer Science Full Mock Test 2. See all questions of this paper with answers, or attempt the paper as a timed online test to get your score and all-India rank.