READ Free Dumps For Oracle- 1z0-001
Question ID 8180 | Which alter command would you use to reinstate a disabled primary constraint? |
Option A | ALTER TABLE ENABLE PRIMARY KEY(ID) |
Option B | ALTER TABLE CARS ENABLE CONSTRAINT cars_id_pk. |
Option C | ALTER TABLE CARS ENABLE PRIMARY KEY(id)CASCADE; |
Option D | ALTER TABLE CARS ADD CONSTRAINT cards_id_pk PRIMARY KEY(id); |
Correct Answer | B |
Question ID 8181 | You have decided to disable the primary key constraint on the empid column and the check constraint on the job column. What happens when you try to enable the constraint after the update is completed? |
Option A | You need to recreate the constraints once they are disabled. |
Option B | Any existing rows that do not conform with the constraints are automatically deleted. |
Option C | Only the future values are verified to conform with the constraints having the existing values unchecked. |
Option D | The indexes on both the columns with the primary key constraint and the check constraints are automatically recreated. |
Option E | All the existing columns values are verified to conform with the constraints and an error message is narrated if any existing values is not conformed. |
Correct Answer | E |