Help for this page

Select Code to Download


  1. or download this
    sub __select_recordset{
        my $loc_select = shift;    #SQL SELECT clause
    ...
        $loc_sth->execute() or die "Can't execute sql statement" . DBI->er
    +rstr;
            return $loc_sth;
    }
    
  2. or download this
    sub select_record_set
    {
    ...
       # why do you need the $SQL vars above? Prepare the statement and
       # then run it.
    }