Does SQL Server have an 'ON ERROR RESUME' type function in TSQL to match the VB facility?

Neil Pike

December 18, 1999

1 Min Read
ITPro Today logo

A. No. All you can do is check @@ERROR after a statement has been run and do something based on that - you could do a GOTO to an error routine if it is in the same batch ofTSQL.

Sign up for the ITPro Today newsletter
Stay on top of the IT universe with commentary, news analysis, how-to's, and tips delivered to your inbox daily.

You May Also Like