Quantcast
Channel: SCN : Discussion List - SAP HANA and In-Memory Computing
Viewing all articles
Browse latest Browse all 5653

Input parameters filled at runtime in SAP HANA SQL?

$
0
0

Hi,

 

I got a graphical calculation view with a mandatory input parameter.

I want to write an SQL statement in a way that the value I pass to the input parameter isreadfrom another view  at runtime.

 

So instead of this:

 

select* from view1

with parameters

  'PLACEHOLDER' = ( '$$parameterA$$', 'Value');

 

I want to do this:

 

select* from view1

with parameters

  'PLACEHOLDER' = ( '$$parameterA$$', (select"columnB"from view2 where ....));

 

However, the system responds "sql syntax error: incorrect syntax near "(" "

 

Any ideas, or this this a restriction of HANA SQL?

 

Thanks in advance and best regards,

Christoph


Viewing all articles
Browse latest Browse all 5653

Trending Articles



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