Skip to content Skip to sidebar Skip to footer

Return The Number Of Affected Rows From A Merge With Cx_oracle

How can you get the number of affected rows from executing a 'MERGE INTO...' sql command within CX_Oracle? When ever I execute the MERGE SQL on cx_oracle, I get a cursor.rowcount o

Solution 1:

Since cx_oracle follows the python DBAPI specification (I presume), this is expected 'behaviour'. The exact same problem was discussed here on stackoverflow before.

Some more links with possible solutions:

Post a Comment for "Return The Number Of Affected Rows From A Merge With Cx_oracle"