with check option

with check option 是通过视图修改表,并且视图中进行同步。

例:

create view v_emp

as

 select * from emp where deptno =20 with check option;

 这时你对v_emp的任何DML操作都必须的满足条件为deptno=20的。

猜你喜欢

转载自xuan155.iteye.com/blog/1980995