Loprz / pypyodbc

Automatically exported from code.google.com/p/pypyodbc
0 stars 0 forks source link

The SQL contains 0 parameters markers, but I gave "?" to it #66

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
python 2.7.9 and python 3.3.5 - the same results. 
I have installed pypyodbc.
This works good: """select * from t_v01 where t_id = ? """,(s,))

BUT raises: 'The SQL contains 0 parameter markers, but 1 parameter were 
supplied', but I have parameter marker: 
WHEN:
""insert into t_v01(t_id,t_type) values(?) ",(s,))""
Why? Please, help

Original issue reported on code.google.com by cep...@gmail.com on 1 May 2015 at 5:46