在with check option的选项下,可以总结为
1. update,要保证数据update之后能被视图查询出来,也就是要符合where的条件
2. insert,保证insert的数据能被视图查询出来
3. delete,有无 with check option都一样
4. 对于没有where字句的视图,使用with check option是多余的
with check option的使用
猜你喜欢
转载自blog.csdn.net/qq_38900441/article/details/104586901
今日推荐
周排行