Home Forums SQL Server 2005 SQL Server 2005 General Discussion TRY CATCH 2005: SSMS still sees error (2012 does not) RE: TRY CATCH 2005: SSMS still sees error (2012 does not)
Nadrek
SSC-Insane
Points: 20039
More actions
September 12, 2012 at 10:00 am
#1536808
Further information to date - on both 2005 and 2012 servers, the usual divide by zero example is caught without showing any errors at all.
BEGIN TRY
PRINT 1/0
END TRY
BEGIN CATCH
PRINT 'Div by 0'
END CATCH