Help for this page

Select Code to Download


  1. or download this
    my $sth_insert = $dbi->prepare(<<'SQL');
        INSERT INTO biochemical
    ...
    for my $row (@rows) {
        $sth_insert->execute( @$row );
    };
    
  2. or download this
    local $sth_insert->{RaiseError} = 0;
    for my $row (@rows) {
        $sth_insert->execute( @$row );
    };