I\'ve created a stored procedure that runs a number of commands to modify data. I only want to commit the transaction if everything succeeds. I\'m doing this by using a try-
EXECUTE ('SELECT * FROM NonexistentTable');