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

Re: how to pass a sequence name to a stored procedure?

$
0
0

There is no "the working trick".

As soon as you want to be dynamic about the structure of your statement, and that includes which objects are involved, you need to use dynamic SQL.

 

I'm not too sure about a sensible design that would entail flexible assigned sequences, but if you do it, you've got to do it with EXEC or EXEC IMMEDIATE.

 

- Lars


Viewing all articles
Browse latest Browse all 8968

Trending Articles



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