in reply to Re: DBI select IN Array
in thread DBI select IN Array
Thank you Hippo. I can see the Perl-related issue. However, your solution produces an empty result, while if I use the following $sql, I can get the expected results. What do you think?
my $sql = "SELECT table FROM tags WHERE tag IN ('red','black')"; my $ID = $dbh->selectall_arrayref ($sql);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: DBI select IN Array
by hippo (Archbishop) on Feb 20, 2019 at 10:02 UTC | |
by Anonymous Monk on Feb 20, 2019 at 11:55 UTC |