UGC-NET Jun 2012 · ER-Model

MCQ · 2 marks · Problem DBMS-RELM-0053

What deletes the entire file except the file structure?
  1. A
    ERASE
  2. B
    DELETE
  3. C
    ZAP
  4. D
    PACK

Solve it on GATE DA practice →More Relational Model & SQL problems

Show the worked solutionIn dBASE/FoxPro, ZAP removes all records from the current file at once but keeps the file structure (field definitions).(A) ERASE deletes the whole file, structure included — incorrect.(B) DELETE only marks records for deletion — incorrect.(D) PACK physically removes only the records already marked — incorrect.Answer: C

GATE DA practice: past exam problems by chapter, with worked solutions · gatedaprep.com