Export to GitHub

pyodbc - issue #399

The SQL contains 0 parameters markers, but "?"


Posted on Apr 30, 2015 by Massive Camel

'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

Status: New

Labels:
Type-Defect Priority-Medium