Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: DBD::Oracle 's DBI binding of arrays

by duff (Parson)
on Sep 21, 2007 at 04:16 UTC ( #640261=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my @userArray = qw(batman robin joker);
    my $set = join(",", map { $dbh->quote($_) } @userArray);
    my $sql = "select * from tablename where username IN ($set)";
    # ...
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://640261]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (3)
As of 2021-12-07 21:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    R or B?



    Results (34 votes). Check out past polls.

    Notices?