I want to insert into two tables from one table based on vlaue on sourcestring value as per type, like if 'protection' then in protection table else in 'configuration' table