Using ouput parameter of type SYS_refcursor
问题 In my database I have a stored procedure with an OUTPUT parameter of type SYS_REFCURSOR. The application side is wrtitten in C#. Can I assign this procedure's output parameter to a Datatable like: ............. OracleConnection con=new OracleConnection(......); OracleCommand cmd=new OracleCommand("MyStoredProc",con); cmd.CommandType=CommandType.StoredProcedure; cmd.Parameters.Add("REC_CUR",OracleType.Cursor).Direction=ParameterDirection.Output; con.Open(); cmd.ExecuteNonQuery(); DataTable dt=