Help for this page

Select Code to Download


  1. or download this
    my $sql = 'SELECT * FROM table WHERE column IN (' .
       ( join ',', map { $dbi->quote($_) } @array ) . ')';
    
  2. or download this
    my $sql = 'SELECT * FROM table WHERE column IN (' .
       '?' . (',?' x $#array) . ')';