[cx-oracle-users] expecting None or a string
Brought to you by:
atuining
From: Anurag C. <anu...@gm...> - 2011-10-24 18:31:39
|
Hi All, I am getting an error "expecting None or a string" when executing a simple SQL Query as this. query = "SELECT count(*) FROM T WHERE NBR = '%s' and ID='%s'" %(nbr,id) print query cursor.execute(query) This was working fine before and I have neither changed the code nor update cx_Oracle or Oracle version etc. Please Guide. Regards, Anurag |