INSERT INTO tbl_temp2 (fld_id) SELECT tbl_temp1.fld_order_id FROM tbl_temp1 WHERE tbl_temp1.fld_order_id > 100;
IF NOT EXISTS(SELECT * FROM tbl_subscriber_account WHERE tbl_subscriber_account.amount <= 0) INSERT INTO tbl_cust_payments VALUES(null, dates, sub_id, cust_no, amount)
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)