|
Oracle DBA Checklist - Weekly Procedures - disPK.sql
Oracle DBA Checklist
(Continued from previous question...)
Oracle DBA Checklist - Weekly Procedures - disPK.sql
-- disPK.sql
--
-- To find out which primary keys are disabled
SELECT owner, constraint_name, table_name, status
FROM all_constraints
WHERE owner = '&OWNER' AND status = 'DISABLED' AND constraint_type = 'P'
(Continued on next question...)
Other Interview Questions
|