Oracle Database SQL 12c 1z0-071 Exam Practice Test 1
© examsiri.com
Question : 17 of 50
Marks:
+1,
-0
Evaluate the following SQL statements that are issued in the given order:
What would be the status of the foreign key EMP_MGR_PK?
CREATE TABLE emp
(emp_no NUMBER(2) CONSTRAINT emp_emp_no_pk PRIMARY KEY,
ename VARCHAR2(15),
salary NUMBER (8,2),
mgr_no NUMBER(2) CONSTRAINT emp_mgr_fk REFERENCES emp(emp_no));
ALTER TABLE emp
DISABLE CONSTRAINT emp_emp_no_pk CASCADE;
ALTER TABLE emp
ENABLE CONSTRAINT emp_emp_no_pk; What would be the status of the foreign key EMP_MGR_PK?
Go to Question: