Help for this page

Select Code to Download


  1. or download this
        my $date_file = new IO::File;
        $date_file->open("<start_date.txt") or die "cannot find file!";
        chomp(my $date = $date_file->getline);
    ...
            $sth = $dbh->prepare($query);
            $sth->execute($date);
            $sth->finish();
    
  2. or download this
    DBD::ODBC::st execute failed: called with 1 bind variables when 0 are 
    +needed at
    C:\Documents and Settings\xxx\Desktop\distribute.pl line 264.
    
  3. or download this
    DBD::ODBC::st execute failed: [Microsoft][ODBC Microsoft Access Driver
    +] Too few
    parameters. Expected 1. (SQL-07002)(DBD: st_execute/SQLExecute err=-1)
    + at C:\Doc
    uments and Settings\xxx\Desktop\distribute.pl line 264.