Hi,
I have the following query:
SELECT (select "OITM"."CardCode" from "OITM" where "OITM"."CardCode" = CUSTOMER."Code" limit 1)
from "OCRD" as CUSTOMER;
when running produces the following error:
Could not execute 'SELECT (select "OITM"."CardCode" from "OITM" where "OITM"."CardCode" = CUSTOMER."Code" limit 1) ...' in 54 ms 655 µs .
SAP DBTech JDBC: [309]: correlated subquery cannot have TOP or ORDER BY:
Is there a way to overcome this problem?
Thank you in advance
D.E.