sql2005定义视图用了with check option,为什么还能插入??
createviewcus_view2asselectcustomerid,companyname,address,cityfromcustomerswithchecko...
create view cus_view2 as select customerid,companyname,address,city from customers
with check option
insert into cus_view2 values( 'Abc','Cfde','BJHH6','Vhghd23')
create view cus_view3 as select customerid,companyname,address,city from customers with check option ----t cus_view3 t customers
insert into cus_view2 values( 'Abcd','Cfde','BJHH6','Vhghd23') ----t cus_view2 t customers
---------------------------------- 展开
with check option
insert into cus_view2 values( 'Abc','Cfde','BJHH6','Vhghd23')
create view cus_view3 as select customerid,companyname,address,city from customers with check option ----t cus_view3 t customers
insert into cus_view2 values( 'Abcd','Cfde','BJHH6','Vhghd23') ----t cus_view2 t customers
---------------------------------- 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询