Quantcast
Channel: SCN : Unanswered Discussions - SAP HANA and In-Memory Computing
Viewing all articles
Browse latest Browse all 4343

Scheduling Stored Procedure having Dynamic SQL statements using XSJOB

$
0
0

Hello Experts,

                       I am facing an Issue while scheduling an XSJOB for a stored procedure where I used some Dynamic SQL statements.

There are couple of places where it happened that I need to use Dynamic SQL statements as I need to refer to the data which I inserted in the next steps for further processing.

 

WHen I run XSJOB it fails saying that Internal Fatal Exception:Transaction state is  LIVE at ptime/query/plan_executor/trex_wrapper/trex_wrapper_body/trex_query.cc:1256


If I remove the Dynamic SQL, Procedure is getting scheduled and running. But removing wont solve my porpose as I need to commit after each iteration.

 

Please through some light on this.

 

Regards

Raghavendra


Viewing all articles
Browse latest Browse all 4343

Trending Articles



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