BEGIN
DECLARE @ TEMP INT
BEGIN TRY
BEGIN TRY
SELECT 1/0
END TRY
BEGIN CATCH
PRINT 'DIVIDE BY ZERO EXCEPTION ENCOUNTERED'
SET @ TEMP = 'ABC'
END CATCH
END TRY
BEGIN CATCH
PRINT 'CONVERSION FAILED'
END CATCH
END
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Jenith ThakkarPosted Jul 9, 2020, 6:48 AM