locked
OracleHelper class, Update returns 1 when no updates occurred? RRS feed

  • Question

  • I am calling the MS OracleHelper class. When I call ExecuteNonQuery for my update it returns 1 even though nothing was updated. How do I determin with this ExecuteNonQuery if something was actually updated?

    (I am NOT using SET NO COUNT on my packages/procedures).


    • Edited by MSDEVTECH Monday, November 14, 2011 12:45 PM
    Monday, November 14, 2011 12:35 PM

Answers

  • Hi MSDEVTECH,

    After researching, I find a case similiar with yours in Oracle Forum, please refer to it, I think it coule help you.

    Best Regards


    Allen Li [MSFT]
    MSDN Community Support | Feedback to us
    • Marked as answer by Allen_MSDN Wednesday, November 23, 2011 6:06 AM
    Tuesday, November 22, 2011 2:05 AM