WurzelGummidge
Technical User
Any ways around this:
(i get a 'Subquery returned more than 1 value. This is not permitted when the subquery follows =, !=, <, <= , >, >= or when the subquery is used as an expression.
The statement has been terminated.' statement returned)
update account set seccodeid = (select seccodeid from account where accountid in (
SELECT ACCOUNTID FROM ACCOUNTSUMMARY WHERE SECCODEID <> (SELECT SECCODEID FROM ACCOUNT A2 WHERE
ACCOUNTSUMMARY.ACCOUNTID = A2.ACCOUNTID) ))
(i get a 'Subquery returned more than 1 value. This is not permitted when the subquery follows =, !=, <, <= , >, >= or when the subquery is used as an expression.
The statement has been terminated.' statement returned)
update account set seccodeid = (select seccodeid from account where accountid in (
SELECT ACCOUNTID FROM ACCOUNTSUMMARY WHERE SECCODEID <> (SELECT SECCODEID FROM ACCOUNT A2 WHERE
ACCOUNTSUMMARY.ACCOUNTID = A2.ACCOUNTID) ))