Quantcast
Channel: SCN : Discussion List - SAP HANA Developer Center
Viewing all articles
Browse latest Browse all 6412

How to Call a Procedure from SQL ?

$
0
0

Hi All,

 

I've a procedure defined like the below taking IN/OUT parameters as table type.

 

PROCEDURE "SAP_HANA_DEMO"."usersCreateMethod" (IN row "SAP_HANA_DEMO"."User.Details",

 

OUT error "SAP_HANA_DEMO"."EPM.Procedures.tt_errors")

 

 

Now, how do i call it from SQL ?

 

I'm trying to call it like

 

CALL "SAP_HANA_DEMO"."usersCreateMethod"('my_global_table','?');

 

It says


Could not execute 'CALL "SAP_HANA_DEMO"."sap.hana.democontent.epm.Procedures::usersCreateMethod"('my_global_table','?')'

SAP DBTech JDBC: [1288]: expression cannot be used as an assignment target: '?': line 1 col 97 (at pos 96)

 

Thanks & Regards

Sakthivel


Viewing all articles
Browse latest Browse all 6412

Trending Articles



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