Can someone point me to an example of calling an Oracle stored procedure that accepts a refcursor argument then processes the result set? I need to call it and write the result to a file.
I think I get the file part, writing using the value as {TASK(<sql task ID here>|Result.Parameter.Value|RC)} where RC is the procedure's refcursor argument. The problem is VC does not seem to like anything I put in as the value for the RC variable in the call to the stored procedure "wrong number or types of arguments in call". What should the parameter settings be for a input/output refcursor argument? There's no datatype setting of sys_refcursor either.
I can't find an example anywhere either. Thanks for any help.
FYI: A .net or powershell process that can execute the stored procedure and save as a file would be awesome as well.
EDIT 9/6/2018 I found a guide that helped me create a powershell script that got it working. see it here:
Oracle database and powershell how-to . I'll be customizing it for our needs.
Edited by user
2018-09-06T13:56:08Z
|
Reason: Not specified