on 06-09-2009 4:00 PM
I am using IQ8 8.05c.
I want to call a stored procedure and return a cursor. I can't find anything in the docs on how to do this.
Can someone point me to some sample code?
Thanks,
Stephen
Denver, CO
That's kind of a problem. DI does not have an array concept in the script language, so you cannot return a cursor there. Within a dataflow (query -> new function call) we support arrays, but only for very limited things like WebServices, SAP BAPI calls,... but not stored procedures. There is no real reason why we don't, it is just not implemented.
So you need something that lets you do custom SQL coding plus DI reading the data. Leaves two options: Create a database view that returns the stored procedure data - if the database even supports that. Or using a SQL Transform. The latter was successfully used in a SQL Server environment, that part I know.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
94 | |
11 | |
11 | |
10 | |
9 | |
8 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.