Possible Duplicate:
Is there SQL parameter binding for arrays?
I was wondering if there is anyway to use bind_param with SQL IN statements. According to perl documentation bind_param_array cannot be used as well. Has anyone come across the same situation?
No you can’t do this easily. One option is to use
$dbh->quote, eg.Or you can create the necessary placeholders and pass the array in as bind parameters, eg.
Neither is exceptionally pretty.