DEFERRABLE INITIALLY IMMEDIATE

DEFERRABLE INITIALLY IMMEDIATE will check constraint violation after each statement being made

 

As you can see the constraint was fired twice – each time we inserted NULL values

Leave a comment

Your email address will not be published. Required fields are marked *