Explain how to DISABLE and ENABLE constraint.
Constraints in Oracle like Foreign keys, CHECK constraint are used to maintain data integrity. Oracle by default enables a constraint if not enabled or disabled explicitly.
Enabling a constraint :ALTER TABLE table_name ENABLE CONSTRAINT constraint_name;
Disabling a constraint :ALTER TABLE table_name DISABLE CONSTRAINT constraint_name;
Explain how to DISABLE and ENABLE constraint.
Disable a constraint by using the DISABLE clause.
Enable a constraint by using the ENABLE clause.