Hi,

When executing the following statement in RPG via embedded SQL, I get an SQL0012

update tablea set fielda = (select distinct fieldb from tableb where fieldbb = fielda)

while the exact same statement goes fine via STRSQL ?

I know how to solve this issue, but I'm curious if this can be controlled by some option ?

Kind regards,
Paul



This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2019 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].