Viewing 2 posts - 1 through 2 (of 2 total)
Hi,
The CATCH clause in SQL server does exactly what a catch(Exception ex) in C# does. Also the ROLLBACK is perfectly valid; imagine what would happen if there was no TRY.....
January 21, 2010 at 10:39 am
#1106836
Nice QoTD :-).
An important point to remember is that a TRY..CATCH can be used to catch all database errors having the error number >10 that do not terminate a...
January 20, 2010 at 10:44 pm
#1106491