begin try
begin transaction tr
select * from Car_Brand
update car_log set [reason]='ceshiceshiceshi' where [modelid]=557;
select 1/0
print 'i have executed!'
select * from AREA
print 'executed success';
commit transaction tr <-----------------------------------------------
end try
begin catch
print 'executed failed';
rollback transaction tr
end catch
慕盖茨4494581