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

Workaround to call procedure within trigger.

$
0
0

Hi everyone,

 

I need to copy data from first table to the second one after new records are inserted in the first one. The code also checks if the records already exists and terminate process if they do. I developed and test the appropriate procedure - everything worked ok, untill I tryed to call this procedure from trigger. As you know it is forbidden in HANA. Therefore I inserted the procedure body in the trigger, however Hana started "crying" for almost each line of code which were compiled fine in the procedure.

 

So, is it any workaround for such situation?

Regards, Evgeny.


Viewing all articles
Browse latest Browse all 6412

Trending Articles



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