how to execute ref cursor procedure in oracle
For performance reasons, the Data Provider for Oracle does not automatically bind REF CURSOR data types, as MSDAORA does, unless you explicitly specify them. The data provider does not support any ODBC escape sequences, including the {resultset} escape used to specify REF CURSOR parameters.To execute a stored procedure that returns REF CURSORs, you must define the parameters in the OracleParameterCollection with an OracleType of Cursor and a Direction of Output.The data provider supports binding REF CURSORs as output parameters only.he .NET Framework Data Provider for Oracle supports the Oracle REF CURSOR data type. When using the data provider to work with Oracle REF CURSORs, you should consider the following behaviors.