Home Forums SQL Server 2008 SQL Server 2008 - General error handling RE: error handling
ugo boy
SSC Enthusiast
Points: 146
More actions
September 13, 2012 at 5:55 am
#1537146
Thank you,
I added the
RAISERROR('Script Failed!', 20, 1) WITH LOG
and it closed the connection preventing subsequent scripts from running!