SELECT * FROM dbo.tbl_TMP_RPC_OPRAttributes INSERT INTO tbl_OPR_CustAttrbLnks(Opr_ID,categoryid,attributeid) VALUES(#select.OperatorID#,#select.categoryid#,#select.attributeid#)