Challenger App

No.1 PSC Learning App

1M+ Downloads
What happens to the table structure when you use 'DROP TABLE' command in SQL?

ATable structure is truncated

BTable structure is deleted

CTable structure is modified

DTable structure remains intact

Answer:

B. Table structure is deleted

Read Explanation:

  • The drop table command is used to delete a table and all rows in the table. 
  • To delete an entire table including all of its rows, issue the drop table command followed by the table name.
  • Drop table is different from deleting all of the records in the table.
  • once a table is dropped, all its data, structure, and constraints are permanently deleted.
  • We cannot recover it unless you have a backup of the database.

Related Questions:

താഴെ പറയുന്നവയിൽ ഹാർഡ് കോപ്പി ഔട്ട്പുട്ട് നല്കാൻ കഴിയുന്ന കമ്പ്യൂട്ടർ അനുബന്ധ ഉപകരണം ഏതാണ്?
What does the term 'record' refer to in SQL?
ഒരു ഓപ്പറേറ്റിംഗ് സിസ്റ്റത്തിൽ മൾട്ടിടാസ്കിംഗ് പ്രധാനമായും നേടിയെടുക്കുന്നത് ______ വഴിയാണ്.
What is the hexadecimal representation of 15?

Which of the following statements is/are correct?

i. The OS manages all the resources of a computer.

ii. The OS provides an interface to the user.

iii. The program execution order is decided by the OS when multiple application programs need to be run.