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

Re: How to call HANA store procedure with input table variable in a SQL console?

$
0
0

Hi all,

 

Just want to know if i can create a procedure with input as table name.

and within the procedure i am calling the table.

 

Create procedure  "SCHEMANAME"."call_table"(IN TABLEANAME Nvarchar(30))

AS

BEGIN

 

SELECT * FROM TABLENAME;

END;

 

CALL "SCHEMANAME"."CALLTABEL"('TABLE1');

 

i tried running it, but it didnot work out ..

is there any other way of doing it.

 

Regards

Nitin


Viewing all articles
Browse latest Browse all 9165

Trending Articles



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