B
bclegg
Hi,
Anyone out there successfullly used the microsoft client to get data
back via a stored procedure?
If not, can the oracle client be used on 8.1.7?
The proc is simply 'get * from widget'
I have a cursor as the output parameter in the proc.
My addparameter command in .net is correct:
myDBNull = Convert.DBNull
strSQL = "proc_GetColWidths"
cmdConn = New OracleClient.OracleCommand(strSQL, New
OracleClient.OracleConnection(mstrConn))
cmdConn.Parameters.Add(New
OracleClient.OracleParameter("xx", OracleClient.OracleType.Cursor, _
2000, ParameterDirection.Output, True, 0, 0, "",
DataRowVersion.Default, myDBNUll))
cmdConn.CommandType = CommandType.StoredProcedure
cmdConn.CommandText = strSQL
cmdConn.Connection.Open()
cmdSource =
cmdConn.ExecuteReader(CommandBehavior.CloseConnection)
I get ora-06550 error when the executereader fires
Appreciate any help to sort this out.
Thanks
Bob
Anyone out there successfullly used the microsoft client to get data
back via a stored procedure?
If not, can the oracle client be used on 8.1.7?
The proc is simply 'get * from widget'
I have a cursor as the output parameter in the proc.
My addparameter command in .net is correct:
myDBNull = Convert.DBNull
strSQL = "proc_GetColWidths"
cmdConn = New OracleClient.OracleCommand(strSQL, New
OracleClient.OracleConnection(mstrConn))
cmdConn.Parameters.Add(New
OracleClient.OracleParameter("xx", OracleClient.OracleType.Cursor, _
2000, ParameterDirection.Output, True, 0, 0, "",
DataRowVersion.Default, myDBNUll))
cmdConn.CommandType = CommandType.StoredProcedure
cmdConn.CommandText = strSQL
cmdConn.Connection.Open()
cmdSource =
cmdConn.ExecuteReader(CommandBehavior.CloseConnection)
I get ora-06550 error when the executereader fires
Appreciate any help to sort this out.
Thanks
Bob