Create proc sp_A
as 
begin try
    insert into tbl_A (A,B) valuses(1,'A') 
    select 'insert into tbl_A success' 
end try
begin catch
    select 'insert into tbl_A failed' 
end catch
go