Click here to Skip to main content
15,892,161 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I want to send an Input Ref Cursor from .NET to Oracle. iam getting The
gets the cursor from database as out parameter and sends the same
cursor back as Input.My webservice has the data in xml format with multiple records. I need to send that data to Oracle with one call using Ref Cursor. but i am getting Error as “OracleType.Cursor parameters may only be ParameterDirection.Output parameters”


Any help is greatly apreciated!
Thanks in advance
syed irfan
Posted

1 solution

It appears that you can return a cursor from a stored proc, but not pass one in. Makes sense, why would you create a DB cursor outside of SQL ? Is that even possible ?
 
Share this answer
 
Comments
irfansyed7 28-Jul-10 1:22am    
We can hold single or multiple parameters in single cursor and can pass it as input, Yes it is possible..

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900