thendrickson
Programmer
I am new to Oracle and have what should be a very basic question
Basically, I cannot find out the syntax to execute an Oracle proc that returns a cursor as output. I have an cursor defined as a output prameter from an Oracle proc as well as 2 input parameters
I need to call the Oracle proc from SQL Server, passing in the variables using the OpenQuery function.
SImply put I want:
Select * from OPENQUERY(OracleLinkedServer,"EXECUTE OracleProc Input1, input2, curResults") "curResults" Kills me.
I doubt the versions I am using effect this but I am using Oracle 10g and SQL 2008
Basically, I cannot find out the syntax to execute an Oracle proc that returns a cursor as output. I have an cursor defined as a output prameter from an Oracle proc as well as 2 input parameters
I need to call the Oracle proc from SQL Server, passing in the variables using the OpenQuery function.
SImply put I want:
Select * from OPENQUERY(OracleLinkedServer,"EXECUTE OracleProc Input1, input2, curResults") "curResults" Kills me.
I doubt the versions I am using effect this but I am using Oracle 10g and SQL 2008