in reply to Style: Passing the same value for multiple DBI placeholders
Your IN clause placeholder will only work if there's one value. You either have to dynamically create the query so the number of IN placeholders matches the number of IN bind parameters; or you have to dynamically create the IN clause to expand to what you want.
There's a decent thread on this here that has examples.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Style: Passing the same value for multiple DBI placeholders
by diotalevi (Canon) on Feb 06, 2003 at 19:25 UTC | |
by steves (Curate) on Feb 06, 2003 at 19:35 UTC |