如何才能为简单的try / catch获取正确的语法? 我还需要做更多的事情吗?
我得到的只是错误1064 ......
BEGIN TRY
SELECT * FROM NonExistentTable;
END TRY
BEGIN CATCH
SELECT * FROM ExistingTable;
END CATCH;
GO
#1064 - 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 'TRY
SELECT * FROM NonExistentTable' at line 1
由于