Normally your answers are very good, but this is not one of those answers. :-)
Putting values directly into a SQL statement is a classic example of what not to do, because it is vulnerable to SQL injection attacks if the ID array values are externally sourced. The reason it is recommended to bind values in is to protect themselves from this sort of thing! :-)
In reply to Re^2: Using multiple values in a SQL "in" statement
by space_monk
in thread Using multiple values in a SQL "in" statement
by perlvroom
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |