December 2002
Intermediate to advanced
928 pages
85h 29m
English
SET CONSTRAINT
SET {CONSTRAINT | CONSTRAINTS} {ALL | constraint_name[,constraint_name...]}
{IMMEDIATE | DEFERRED}Specifies at the transaction level whether specific constraints are checked after each DML statement or are deferred until the end of a transaction. This statement applies only to deferrable constraints. The success of deferrable constraints can be tested by issuing the statement SET CONSTRAINTS ALL IMMEDIATE before the COMMIT statement is issued.
Specifies that all deferrable constraints for the transaction are affected by this statement.
Name of a deferrable constraint.
Specifies that the conditions enforced by the constraints be checked after each DML statement is completed.
Specifies that the conditions enforced by the constraints be checked after the entire transaction is complete and committed.