Hi,
I have a master customer table. I also have a temporary table for customers who meet a set of criteria each month. Our plan was to upload the acct numbers into the temporary table and then modify the master table if the customer's ID is in the temporary table.
Here's the query.
UPDATE customer SET customer.actnum = '1', customer.bankact = '' WHERE customer.custID = customer_tmp.custID
also tried:
UPDATE customer SET actnum = '1', bankact = '' WHERE customer.custID = customer_tmp.custID
error message:
Unknown table 'customer_tmp' in where clause
now the customer_tmp table does exist. I'm not sure why this query isn't working.
Thanks,
Jer
I have a master customer table. I also have a temporary table for customers who meet a set of criteria each month. Our plan was to upload the acct numbers into the temporary table and then modify the master table if the customer's ID is in the temporary table.
Here's the query.
UPDATE customer SET customer.actnum = '1', customer.bankact = '' WHERE customer.custID = customer_tmp.custID
also tried:
UPDATE customer SET actnum = '1', bankact = '' WHERE customer.custID = customer_tmp.custID
error message:
Unknown table 'customer_tmp' in where clause
now the customer_tmp table does exist. I'm not sure why this query isn't working.
Thanks,
Jer