Help for this page

Select Code to Download


  1. or download this
    #my @col = ("machine","runas");
    #my @val = ("bar","faa");
    my $col = "machine";
    ...
    
    $sth1->execute($col,$val,$rowId)
            or die "Couldn't execute statement: " . $sth->errstr;
    
  2. or download this
    DBD::SQLite::db prepare_cached failed: near "?": syntax error at ./foo
    +.pl line 37.
    DBD::SQLite::db prepare_cached failed: near "?": syntax error at ./foo
    +.pl line 37.