Stored Procedure Output parameters returning NULL
Using the following code:
MySqlParameter curParam = new MySqlParameter(elemParam.GetAttribute("dbName"), paramType);
curParam.Direction = System.Data.ParameterDirection.Output;
oCmd.Parameters.Add(curParam);
After executing the query (when the connection is still open), curParam.value returns NULL.
The stored procedure otherwise returns the correct results. Additionally, when running the Stored Procedure directly in the console, the output param returns correctly as well.
Is this a bug?
Subject
Written By
Posted
Stored Procedure Output parameters returning NULL
December 26, 2013 11:36AM
December 27, 2013 11:52AM
December 31, 2013 05:00PM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.