Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $exec_ret = $DBS->SQLExecSQL($STMT);
- while ($DBS->SQLFetch() == *PLibdata::RET_OK)
- {
- $rowfetch = $DBS->{Row}->GetCharValue($colname[$i]);
- }
- my $sth = $dbh->prepare($STMT);
- $sth->execute;
- my $columns = $sth->{NAME_uc};
- while (my $row = $sth->fetch) {
- for my $i (0 .. $#$row) {
- print "$columns->[$i]: $row->[$i]n";
- }
- print "n";
- }
Add Comment
Please, Sign In to add comment