1. Home
  2. Database Management Systems
  3. Database Management Systems
  4. Which SQL command removes all rows from a table but leaves…

Added 11 Nov 2026

Which SQL command removes all rows from a table but leaves the table structure and its columns intact, without logging individual row deletions?

  1. DROP
  2. DELETE
  3. REMOVE
  4. TRUNCATE Correct answer

Correct answer

D. TRUNCATE

11 views

MCQSEXAM

Explanation

TRUNCATE removes all rows by deallocating data pages without logging individual deletions. Source: mcqsghar.com, Q5.

Reference

Asked in: FPSC,CSS,NTS,PPSC,PMS

Preparing for an exam?

Doubts & discussion

Not sure why the answer is D? Ask here and get an explanation.

Ask a doubt about this MCQ

Shown after review. No links please.

More Database Management Systems MCQs

Practise all Database Management Systems MCQs

Similar MCQs