Home »
MCQs »
Oracle MCQs »
Oracle Change Password, Check Constraints, Comments, and Primary Key MCQs
Syntax to Disable Primary Key is –
14. Syntax to Disable Primary Key is -
- ALTER TABLE DISABLE CONSTRAINT constraint_name;
- ALTER TABLE table_name DISABLE CONSTRAINT;
- ALTER TABLE DISABLE CONSTRAINT;
- ALTER TABLE table_name DISABLE CONSTRAINT constraint_name;
Answer: D) ALTER TABLE table_name DISABLE CONSTRAINT constraint_name;
Explanation:
Syntax to Disable Primary Key is
ALTER TABLE table_name DISABLE CONSTRAINT constraint_name;