T
tim.romanowski
Hello,
I am having a wierd problem. I am using an OleDBCommand to insert a
new row into a table on an Oracle 10g database.
My Code looks like this
bool result = ( command.ExecuteNonQuery( statement ) > 0 );
last night the Oracle Database was hung due to some issues with the
file sizes or something
I am not sure .
The problem is, is that all of the inserts in my code passed, meaning
that result was true,
and no exceptions where thrown.
is there a way to get a return / error code from the ExecuteNonQuery()?
All I have read says that the return is the number of rows affected.
if this returns 1 but Oracle did not actually insert the row, the only
way for me to tell is to select back out the row to make sure it is
there. I kinda do not want to do that.
Any help would be appreciated
thank you in advance
Tim
I am having a wierd problem. I am using an OleDBCommand to insert a
new row into a table on an Oracle 10g database.
My Code looks like this
bool result = ( command.ExecuteNonQuery( statement ) > 0 );
last night the Oracle Database was hung due to some issues with the
file sizes or something
I am not sure .
The problem is, is that all of the inserts in my code passed, meaning
that result was true,
and no exceptions where thrown.
is there a way to get a return / error code from the ExecuteNonQuery()?
All I have read says that the return is the number of rows affected.
if this returns 1 but Oracle did not actually insert the row, the only
way for me to tell is to select back out the row to make sure it is
there. I kinda do not want to do that.
Any help would be appreciated
thank you in advance
Tim