[cx-oracle-users] cx_Oracle "Expecting None or a String"
Brought to you by:
atuining
From: Anurag C. <anu...@gm...> - 2015-09-08 17:50:52
|
All, I am on the following cx_Oracle version >>> cx_Oracle.version '5.0.3' Time and again I get this error in executing a query expecting None or a string The query is being executed this way cursor.execute("SELECT * FROM APP_STORE WHERE STORE=:STORE %s" %(order_clause),{'STORE':STORE}) What could be the reason? Similar queries executed earlier in the flow work fine but this one does not. Appreciate some guidance on this. Regards, Anurag |