BEGIN TRY
BEGIN TRANSACTION
INSERT INTO Intake(res_name) VALUE("joe");
COMMIT TRAN
END TRY
BEGIN CATCH
IF @@TRANCOUNT > 0
END CATCH
No comments:
Post a Comment