Oracle
1Z0-146 · Question #21
You need to perform a major update on the EMPLOYEE table. 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…
The correct answer is E. All the existing column values are verified to confirm with the constraints and an error message. See the full explanation below for the reasoning.
Question
You need to perform a major update on the EMPLOYEE table. 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 constraints after the update is completed?
Options
- AYou need to recreate the constraints once they are disabled.
- BAny existing rows that do not confirm with the constraints are automatically deleted.
- COnly the future values are verified to confirm with the constraints, leaving the existing values
- DThe indexes on both the columns with the PRIMARY KEY constraint and the CHECK constraint
- EAll the existing column values are verified to confirm with the constraints and an error message
How the community answered
(49 responses)- A10% (5)
- B2% (1)
- C2% (1)
- D6% (3)
- E80% (39)
Community Discussion
No community discussion yet for this question.