SQL数据库 经常提示附近语法有错误(例子如下) 谢谢!!!
(1)createdefaultdft_stateAS'ca'sp_bindefault'dft_state','publishers.state'提示:'sp_bind...
(1)
create default dft_state AS 'ca'
sp_bindefault 'dft_state','publishers.state'
提示:'sp_bindefault' 附近有语法错误
(2)
create default base_default as 1000
exec sp_bindefault base_default, 'salary.base'
提示:exec附近有语法错误
(3)
create rule sex_rule as @ sex in('男','女')
sp_bindrule 'discount_rule','customer.discount'
提示:sex' 附近有语法错误
(4)
create rule discount_rule as @ discount between 0.50 and 1.00
sp_bindrule 'discount_rule','customer.discount'
提示:discount' 附近有语法错误 展开
create default dft_state AS 'ca'
sp_bindefault 'dft_state','publishers.state'
提示:'sp_bindefault' 附近有语法错误
(2)
create default base_default as 1000
exec sp_bindefault base_default, 'salary.base'
提示:exec附近有语法错误
(3)
create rule sex_rule as @ sex in('男','女')
sp_bindrule 'discount_rule','customer.discount'
提示:sex' 附近有语法错误
(4)
create rule discount_rule as @ discount between 0.50 and 1.00
sp_bindrule 'discount_rule','customer.discount'
提示:discount' 附近有语法错误 展开
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询
广告 您可能关注的内容 |