我想在dbForge sql窗口上运行SQL语句,但得到错误:select 's';错误:
1 You have ancheck the manual that corresponds to your MySQL server version for the right syntax to use near 'if (ifnull(null,'s') = 's')
将不返回任何结果,但以下代码将返回1000个结果:FROM NameTable我读过将SortSequence/SortType放入你的连接字符串中LASTNAME = IFNULL ( @LASTNAME , LASTNAME ) AND R .CITY = IFNULL ( @CITY , CITY )
AND R . STA