• Call Us : 03082533000 (WhatsApp)
  • Email Us : TestPointpk.com@gmail.com
Sticky Note
In SQL, which command is used to remove all rows from a table without deleting the table structure?
  1. DELETE
  2. DROP
  3. TRUNCATE
  4. REMOVE
Explanation
  • TRUNCATE removes all rows from a table but keeps the table structure intact.
  • It is faster than DELETE because it does not log individual row deletions.
  • DELETE can remove specific rows and can be rolled back.
  • DROP deletes the entire table structure and data.
  • REMOVE is not a valid SQL command.
  • Related MCQs

    یونیورسل ٹیورنگ مشینوں کا خیال کون تیار کرتا ہے جو پہلے کمپیوٹر کی بنیاد بنتی ہے؟
    1. Bill gates
    2. Alan Turing
    3. Babbage
    4. None of these
    اس سوال کو وضاحت کے ساتھ پڑھیں

    ای میل کا مطلب کیا ہے؟
    1. Easy mail
    2. Electronic mail
    3. Electric mail
    4. Eye mail
    اس سوال کو وضاحت کے ساتھ پڑھیں

    ڈیٹابیس میں کالمز کو کیا کہتے ہیں؟
    1. Rows
    2. Fields
    3. Records
    4. None of these
    اس سوال کو وضاحت کے ساتھ پڑھیں

    کمپیوٹر سائنس کا بانی کون ہے؟
    1. Augusta Adaming
    2. Allen Turing
    3. Charles Babbage
    4. None of these
    اس سوال کو وضاحت کے ساتھ پڑھیں

    ٹورنگ ٹیسٹ کس سال متعارف کروایا گیا؟
    1. 1936
    2. 1945
    3. 1950
    4. None of these
    اس سوال کو وضاحت کے ساتھ پڑھیں

    All Rights Reserved © TestPointpk.com