INFORMIX-SE 7.32:
I’m getting error 360 when I try to execute the following statement:
update transaction
set transaction.colx = (select tab1.cola from tab1)
where transaction.num = (select max(transaction.num) from transaction)
and transaction.colx IS NULL;
Any ideas?
You’re trying to
UPDATEthe tabletransactionand read from the same table usingSELECT MAXwith the same query. You cannot do that.Subquery restrictions