Guest User

Untitled

a guest
Jun 23rd, 2018
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.34 KB | None | 0 0
  1. $exec_ret = $DBS->SQLExecSQL($STMT);
  2.  
  3. while ($DBS->SQLFetch() == *PLibdata::RET_OK)
  4. {
  5. $rowfetch = $DBS->{Row}->GetCharValue($colname[$i]);
  6. }
  7.  
  8. my $sth = $dbh->prepare($STMT);
  9. $sth->execute;
  10. my $columns = $sth->{NAME_uc};
  11.  
  12. while (my $row = $sth->fetch) {
  13. for my $i (0 .. $#$row) {
  14. print "$columns->[$i]: $row->[$i]n";
  15. }
  16. print "n";
  17. }
Add Comment
Please, Sign In to add comment