Quantcast
Channel: SCN: Message List - SAP HANA Developer Center
Viewing all articles
Browse latest Browse all 9165

Re: SAP HANA Passing parameter to temp table using stored procedure

$
0
0

Hello Mike,

 

in that situation a DDL statement which uses an input parameter is not supported. You could either use a complete dynamic statement - which I do not recommend - or do following:

 

...

lt_data = SELECT "DocEntry", "CardName", "DocDate" FROM "OINV" WHERE "CardName" = : sample1;

CREATE LOCAL TEMPORARY TABLE #"MIKE1" AS( SELECT * FROM :lt_data );

...

 

Regards,

Florian


Viewing all articles
Browse latest Browse all 9165

Trending Articles



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