create procedure sp_test as begin exec(’ create trigger dbo.tr_aaa_delete on dbo.aaa for delete as begin insert into bbb values(’’1’’, ’’bbb’’ ) end’) end