Quantcast
Channel: SCN : Discussion List - SAP HANA and In-Memory Computing
Viewing all articles
Browse latest Browse all 5653

Calling a read-write procedure from a read-only calc view

$
0
0

Hi folks,

 

I have a procedure that does some processing on a cursor and as it's processing it writes results to a TEMPORARY table.  Finally it joins the temporary table to another physical table.  Because it's using a temp table I have this as a read/write procedure.

 

Now I'm attempting to consume my procedure via a calculation view using a simple CALL myProcedure (:var_out) however I'm getting the following error;

 

" transaction rolled back by an internal error: EXPLAIN PLAN and CALL statement are not allowed: CALL for non read only procedure/function is not supported in the READ ONLY procedure"

 

Is it not possible to consume a read-write procedure via an SQL script calculation view?  If not I question the value of being able to create read-write procedures in the first place. 

 

Thanks,

-Patrick

 

PS: Ravi if you are reading this is it possible to call my read-write procedure directly from Microstrategy and avoid the calc view completely?


Viewing all articles
Browse latest Browse all 5653

Trending Articles



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