» Transact SQL
» Error Handling (RSS)
Sorry, but there are no more tags available to filter with.
Maria Zakourdaev has just demonstrated that if our T-SQL throws multiple exceptions,
ERROR_MESSAGE() in TRY..CATCH block will only expose one.
When we handle errors in C#, we have a very easy access to all errors.
The following procedure throws two exceptions:
CREATE PROCEDURE dbo.ThrowsTwoExceptionsAS BEGIN ...