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

How to Consume non-Read Only Stored Procedure in Scripted CV?

$
0
0

I have searched SCN and I found these links on the subject (there are many more links which seem to be broken since the migration):

call of procedures in Hana

Calling Procedure in SQL Script

Procedure Script which takes a scalar input and table output

 

None of these threads deal with my case where I have a procedure (myProcedure):

- with only an output parameter (outtab) and

- the procedure is not 'WITH RESULT VIEW'.

 

In order to consume the procedure I use:

 

call "mySchema"."myPackage.Folder::myProcedure"(var_out);

 

which produces the following error (which makes complete sense to me):

 

"CALL for non read only procedure/function is not supported in the READ ONLY procedure/function"

 

 

Is there a work around to use a non-read only procedure in a scripted CV???


Viewing all articles
Browse latest Browse all 6412

Trending Articles



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