在查询分析器中,先输入两句
set ansi_nulls on
set ansi_warnings on
执行然后再
Create Proc 存储过程
然后
set ansi_nulls off
set ansi_warnings off
产生出来的存储过程就不会有这个问题
set ansi_nulls on
set ansi_warnings on
执行然后再
Create Proc 存储过程
然后
set ansi_nulls off
set ansi_warnings off
产生出来的存储过程就不会有这个问题
该选项将启用下列 SQL-92 设置:SET ANSI_NULLS SET CURSOR_CLOSE_ON_COMMIT
SET ANSI_NULL_DFLT_ON SET IMPLICIT_TRANSACTIONS
SET ANSI_PADDING SET QUOTED_IDENTIFIER
SET ANSI_WARNINGS
set ansi_nulls on
go
set ansi_warnings on
gocreate procedure ...
as.....
go
使用了下列语句还是不可以!有没有人帮忙看看!
set ansi_nulls on
go
set ansi_warnings on
go