Skip to content

Instantly share code, notes, and snippets.

@dsibinski
Last active Nov 16, 2017
Embed
What would you like to do?
SET XACT_ABORT ON
GO
BEGIN TRANSACTION
GO
-- SQL object 1 (CREATE/ALTER/INSERT etc...)
GO
-- SQL object 2 (CREATE/ALTER/INSERT etc...)
GO
-- next SQL batches if needed, each followed by GO
COMMIT
GO
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment