Find All Code with Rollback Tran but No Begin Tran

This simple script identifies all objects which have a rollback transaction statement without a requisite begin transaction statement. If a rollback statement is issued without a begin statement, then the code will generate an error. Triggers are not included in the list since they can have a rollback without a begin. This script can be […]

2006-01-09 (first published: )

334 reads

Blogs

Using SQL Compare for One Procedure

By

A customer recently was concerned about the time to run SQL Compare for a...

Daily Coping 11 June 2021

By

I started to add a daily coping tip to the SQLServerCentral newsletter and to...

Azure SQL Database – Secondary Database and Tiers

By

On the theme of failover groups let’s do a quick recap on my environment....

Read the latest Blogs

Forums

Tracking, Privacy, and Lots of Data

By Steve Jones - SSC Editor

Comments posted to this topic are about the item Tracking, Privacy, and Lots of...

SQL Servers performance issues

By mtz676

2019 Standard and enterprise. Higly generic question here. Under similar setups baring versions do...

Distributed Availability Group setup for DR Standalone SQL server

By dastagiri16

Hi Team, We have primary DC which is having 3 nodes cluster and implemented...

Visit the forum

Ask SSC

SQL Server Q&A from the SQLServerCentral community

Get answers