begin try
begin tran
insert into dbo.TransTestTable values (66,'');
update dbo.TransTestTable set [Name] = '' where [Id] = 66;
--RAISERROR ('Error raised in TRY block.',16,1);
commit tran
end try
begin catch
rollback tran
end catch
begin try
begin tran
insert into dbo.TransTestTable values (66,'');
update dbo.TransTestTable set [Name] = '' where [Id] = 66;
--RAISERROR ('Error raised in TRY block.',16,1);
commit tran
end try
begin catch
rollback tran
end catch