Quantcast
Channel: SCN : Unanswered Discussions - SAP HANA and In-Memory Computing
Viewing all articles
Browse latest Browse all 4343

Correlated subquery cannot have TOP or ORDER BY

$
0
0

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.


Viewing all articles
Browse latest Browse all 4343

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>