in reply to Re^2: SQL LIKE and Binding Variables
in thread SQL LIKE and Binding Variables
Each placeholder can accept only one value so you have to build your SQL statement with the right number of question marks. Or (if your database supports table valued functions) use something like this to split a single string on the database side. (I doubt things like this are supported by SQLite, but I may be mistaken.)
Jenda
Enoch was right!
Enjoy the last years of Rome.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: SQL LIKE and Binding Variables
by Mad_Mac (Beadle) on Nov 06, 2009 at 22:40 UTC | |
|
Re^4: SQL LIKE and Binding Variables
by Mad_Mac (Beadle) on Nov 06, 2009 at 22:23 UTC |