begin psuedo codeCreate trigger ins_my_table on real_table INSTEAD OF INSERT AS Begin Insert into par_table select col_list from inserted i inner join post_Type_lookup p on i.doc_type = p.doc_type from where do_it = 1 insert into real_table --will get posted to the current table regardless of type select col_list from inserted i End End psuedo code
Create trigger ins_my_table on real_table FOR INSERT AS Begin Insert into par_table select col_list from inserted i inner join post_Type_lookup p on i.doc_type = p.doc_type from where do_it = 1 End
insert into real_table --will get posted to the current table regardless of type select col_list from inserted i