I'm trying to sync the Email address of one table with the Email address of another table. I'm using the following query but I'm getting an "invalid row count in subquery" error.
update custrel set primemailaddress=(select customer.emailaddress from customer,custrel where emailaddress<>'' and primemailaddress='' and
customer.customernum=custrel.customernum)
I'm running PSQL v8.6
update custrel set primemailaddress=(select customer.emailaddress from customer,custrel where emailaddress<>'' and primemailaddress='' and
customer.customernum=custrel.customernum)
I'm running PSQL v8.6