donate comments/suggestions/bugs a leap of faith?
By using dbfiddle, you agree to license everything you submit by Creative Commons CC0

BEGIN TRY DECLARE @foo varchar(30) = 'Created in try block'; DECLARE @i int = 1 / 0; END TRY BEGIN CATCH PRINT @foo; SET @foo = 'Catch found'; END CATCH; PRINT @foo;
show plan split remove clear
Created in try block
Catch found