Skip to content Skip to sidebar Skip to footer

Python Cx_Oracle Prepared Statement With Qmark

I am trying to work with cx_Oracle, but it seems to dislike what I know about db-api. These statement work: cur.execute('INSERT INTO 'testdboz' ('id', 'sessionid') VALUES (2, 123)'

Solution 1:

Sadly, I found an answer here...

You can't truly choose what paramstyle you would like to use. Oracle only natively supports named and numeric paramstyles and cx_Oracle supports both of those.


Post a Comment for "Python Cx_Oracle Prepared Statement With Qmark"