SQL Proc Insert Update
问题如图所示:
错误提示:
[解决办法]
if 下面要有运行语句,如果没有的话 就改条件,用NOT EXISTS 后面不要用else了
[解决办法]
- SQL code
改成if not exists(select ...)begininsert ...update ....end
发布时间: 2012-03-14 12:01:13 作者: rapoo
SQL Proc Insert Update
问题如图所示:
错误提示:
[解决办法]
if 下面要有运行语句,如果没有的话 就改条件,用NOT EXISTS 后面不要用else了
[解决办法]
改成if not exists(select ...)begininsert ...update ....end