I think that your best shut is to create a procedure that will accept table names as parameters and then dynamically create the procedure the populate/manipulate these tables.