0
我想运行dbForge SQL窗口上的SQL语句,但遇到错误:运行简单的SQL语句直接
if (ifnull(null,'s') = 's') then
select 's';
end if;
错误:
1 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'if (ifnull(null,'s') = 's') then
select 's'' at line 2 SQL1.sql 2 1
我必须把这种说法在存储过程中对其进行测试。
如何直接在SQL窗口上运行语句,如SQL Server管理工作室。