Hi there.
I have the following code in the body of a web method:
This produces an error message of the form "Invalid SQL command" though I can't see what I am missing here as this runs okay in the sql client. Can anybody see my mistake please?
Thank you.
M :o)
I have the following code in the body of a web method:
Code:
string maxCmd = "select max(aValue) + 1 from a_table where aValue < 1000";
string newValue = string.Empty;
OracleCommand comm = new OracleCommand("maxCmd", conn);
OracleDataReader reader = comm.ExecuteReader();
while (reader.Read())
{
newValue = reader[0].ToString();
}
Thank you.
M :o)
Comment