Question 186Asked in DSSSB TGT Computer Science, 7 Feb 2024, Shift 2 (12:30 PM)

In SQL, which of the following is correct command for schema evolution, if the

In SQL, which of the following is correct command for schema evolution, if the RESTRICT option is chosen than the schema is dropped only if schema has no element in it?
  1. ADELET E
  2. BUPDAT E
  3. CALT ER
  4. DDROP
Show answerHide answer

Correct answer: (D) DROP

Explanation

DROP SCHEMA name RESTRICT removes the schema only if it has no elements; CASCADE would drop it with all its contents.

From DSSSB TGT Computer Science PYQ, 7 Feb 2024, Shift 2 (12:30 PM)

This is question 186 of DSSSB TGT Computer Science PYQ, 7 Feb 2024, Shift 2 (12:30 PM). 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.