读书人

SQL Proc Insert Update,该怎么解决

发布时间: 2012-03-14 12:01:13 作者: rapoo

SQL Proc Insert Update
问题如图所示:

错误提示:


[解决办法]
if 下面要有运行语句,如果没有的话 就改条件,用NOT EXISTS 后面不要用else了
[解决办法]

SQL code
改成if not exists(select ...)begininsert ...update ....end 

读书人网 >SQL Server

热点推荐