Help for this page

Select Code to Download


  1. or download this
    my $in = "a,b";
    my $sth = $dbh->prepare("SELECT foo FROM bar WHERE baz IN (?)");
    ...
    $sth->execute( @in );
    
    # fetch returns expected results for "a" and "b"