SQL code: declare @msg nvarchar(4000) declare @severity int
IF @@ERROR <> 0 BEGIN select @msg=description,@severity=severity from sysmessages where msglangid = 2052 and error=@@ERROR --print @msg RAISERROR (@msg, @severity, 1)
END
SQL code:
declare @msg nvarchar(4000) declare @severity int exec('aa') IF @@ERROR <> 0 BEGIN select @msg=description,@severity=severity from sysmessages where msglangid = 2052 and error=@@ERROR --print @msg RAISERROR (@msg, @severity, 1)
Warning: odbc_connect() [function.odbc-connect]: SQL error: [Microsoft][ODBC Çý¶¯³ÌÐò¹ÜÀíÆ÷] δ·¢ÏÖÊý¾ÝÔ´Ãû³Æ²¢ÇÒδָ¶¨Ä¬ÈÏÇý¶¯³ÌÐò, SQL state IM002 in SQLConnect in D:\0\msc\msc\tel.php on line 44 Í ......