Click to See Complete Forum and Search --> : Rows affected in mysql


pradeepktg
06-16-2009, 09:32 AM
Hi,

How to find number of rows affected in update statement using mysql (not using php mysql).

Thanks,
Pradeep

b4web
06-16-2009, 01:04 PM
Looking at the mysql 5.0 reference manual, under other functions, there is a function called row_count() - returns the number of rows updated, inserted, or deleted by the preceding statement and it sounds like it does the same thing as mysql_affected_rows().