REF CURSOR Parameters in an OracleDataReader This example executes a PL/SQL stored procedure that returns a REF CURSOR parameter, and reads the value as an ...
You can also declare the cursor explicitly and then reference that in the FOR loop. You can then use that same cursor in another context, such as another FOR loop.