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

Re: How to call a Stored Procedure with output type TABLE

$
0
0

Hi Qaiser,

 

Create a global temporary table which is exactly same as  table type(selecttypeall) like gt_selecttypeall and call your procedure as below

 

CALL "EC2"."outputselect" ('pass_value_of_keyword', gt_selecttypeall) with overview;

 

If you get the error: Invalid column name gt_selecttypeall, you need to change the order of
the input and output parmaters

 

-- Check result tab. It displays name of table type output parameter and table name.

 

 

Use select on temporary
table to retrieve result.


select * from gt_selecttypeall;

 

Best Regards,

Ranjit


Viewing all articles
Browse latest Browse all 9165

Trending Articles



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