INSERT INTO pub.mtcustomer TENANT SNCSoftware
SELECT * FROM pub.mtcustomer AS mtc WHERE tenantName_tbl (mtc) = 'default' AND MOD (custnum, 2) = 0; INSERT INTO pub.mtcustomer TENANT OEDProducts SELECT * FROM pub.mtcustomer AS mtc WHERE tenantName_tbl (mtc) = 'default' AND MOD (custnum, 2) <> 0; DELETE FROM pub.mtcustomer AS mtc WHERE tenantName_tbl (mtc) = 'default'; |