chornbeak / pyodbc

Automatically exported from code.google.com/p/pyodbc
MIT No Attribution
0 stars 0 forks source link

The SQL contains 0 parameters markers, but "?" #399

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
'The SQL contains 0 parameter markers, but 1 parameter were supplied', but I 
have parameter marker: 
""insert into t_v01(t_id,t_type) values(?) ",(s,))""

 \\ and this works good: """select * from t_v01 where t_id = ? """,(s,))

python 2.7.9 and python 3.3.5 - the same results

Original issue reported on code.google.com by cep...@gmail.com on 30 Apr 2015 at 5:50