Python: Number of rows affected by cursor.execute("SELECT ...)

Posted by Tie-fighter on Stack Overflow See other posts from Stack Overflow or by Tie-fighter
Published on 2010-03-24T21:52:54Z Indexed on 2010/03/25 1:13 UTC
Read the original article Hit count: 343

Filed under:
|
|
|

How can I access the number of rows affected by:

cursor.execute("SELECT COUNT(*) from result where server_state='2' AND name LIKE '"+digest+"_"+charset+"_%'")

© Stack Overflow or respective owner

Related posts about python

Related posts about db