Rows Changed in mysql RRS feed

  • Question

  • User357616875 posted

    I am using the mysql DLLs version

    I am trying to return the number of rows affected in an UPDATE or DELETE Statement. What I get is the number of rows matched.

    so I am doing 

    rows = Command.ExecuteNonQuery()

    but rows always equals the rows matched not the rows changed

    Is this a mysql bug or feature :-)


    Tuesday, March 20, 2012 10:46 AM

All replies

  • User-638331144 posted

    I think that is not a bug nor a feature... :-)  we should be aware of the difference in behavior between the SQL Server  and the MySQL.

    Monday, April 2, 2012 11:57 PM