--资源修正后脚本 BEGIN TRY BEGIN TRANSACTION -- -- You code here. -- COMMIT TRANSACTION END TRY BEGIN CATCH IF (@@TRANCOUNT > 0) -- Adds store procedure -- Writes the error into ErrorLog table. ROLLBACK TRANSACTION END CATCH
码姐姐匿名网友2019-02-11 06:12:31
语法有点小错误,应该是扣出来的吧!问题解决了,感谢楼主! IF (@@TRANCOUNT 0) BEGIN -- Adds store procedure -- Writes the error into ErrorLog table. ROLLBACK TRANSACTION END
问题解决了,感谢楼主!
--资源修正后脚本 BEGIN TRY BEGIN TRANSACTION -- -- You code here. -- COMMIT TRANSACTION END TRY BEGIN CATCH IF (@@TRANCOUNT > 0) -- Adds store procedure -- Writes the error into ErrorLog table. ROLLBACK TRANSACTION END CATCH
语法有点小错误,应该是扣出来的吧!问题解决了,感谢楼主! IF (@@TRANCOUNT 0) BEGIN -- Adds store procedure -- Writes the error into ErrorLog table. ROLLBACK TRANSACTION END