Deferring Constraint Checks:
返回的数据是否符合约束。
Not deferrable 是默认的。
Deferrable 不是默认的。
Initially immediate在每个sql命令之后检查约束。
Initially deferred 在每个事务结束之后检查约束。
Deferrable 的状态不能使用alter table modify constraint 来更改。必须删除,重新建立约束。
The initially
{DEFERRED|IMMEDIATE}可以用alter tabe来更改。
Set constraints 为当前的事务做construction-checking(针对deferrable状态)
Alter session Set
constraints为当前的连接做construction-checking(针对deferrable状态)
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/11997930/viewspace-1027009/ ,如需转载,请注明出处,否则将追究法律责任。