以下是程序和代码。即使签名相同,我也会收到错误ORA-06550
程序prc_MediaProSchExport(c_ResultSet OUT t_Cursor, vChas IN Varchar2, vTXS IN日期, vTXE IN日期, vSch IN Varchar2 )
OracleParameter oParam = new OracleParameter("c_ResultSet", OracleDbType.RefCursor);
oParam.Direction = ParameterDirection.ReturnValue;
parameterList[0] = oParam;
OracleParameter oParam1 = new OracleParameter("VARI", OracleDbType.Varchar2);
oParam1.Direction = ParameterDirection.Input;
parameterList[1] = oParam1;
DateTime gmtDateTime = DateTime.Parse(DateTime.Today.ToShortDateString());
OracleParameter oParam2 = new OracleParameter(gmtDateTime.ToString(), OracleDbType.Date);
oParam2.Direction = ParameterDirection.Input;
parameterList[2] = oParam2;
OracleParameter oParam3 = new OracleParameter(gmtDateTime.ToString(), OracleDbType.Date);
oParam3.Direction = ParameterDirection.Input;
parameterList[3] = oParam3;
OracleParameter oParam4 = new OracleParameter("ABCD", OracleDbType.Varchar2);
oParam4.Direction = ParameterDirection.Input;
parameterList[4] = oParam4;