创建规则时提示语法错误
创建一个规则并把它与表PUBLISHERS的country列绑定起来,使只有来处列表中的国家的出版社才能被插入publishers表中.语句如下:
use webdata
create rule country_rule
as
@country in('usa','germany','france','china')
go
sp_bindrule country_rule 'publishers.country'
提示'publishers.country'附近有语法错误.
pubishers是数据库PUBS中的一个表,各位帮帮忙啊.