Help for this page

Select Code to Download


  1. or download this
    my $sql = 'SELECT DP1,DP2 FROM Table1';
        my $sth = $dbh->prepare($sql);
        my $rc = $sth->execute || &pl_fatalSQLError($sql,$DBI::errstr);
        my $resultsArrayRef = $sth->fetchall_arrayref({});# <-- nothing ha
    +ppens past here
        $sth->finish();
    
  2. or download this
    my $sql = 'SELECT * FROM Table1';
        my $sth = $dbh->prepare($sql);
        my $rc = $sth->execute || &pl_fatalSQLError($sql,$DBI::errstr);
        my $resultsArrayRef = $sth->fetchall_arrayref({});
        $sth->finish();