Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

Incorrect number of bindings supplied. The current statement uses 1, and there are 3 supplied.

#You need to pass in a sequence, comma at the end:
cursor.execute('SELECT * FROM TABLE WHERE COL = ?;', (string,))
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #Incorrect #number #bindings #The #current #statement
ADD COMMENT
Topic
Name
5+5 =