in reply to Reviewing Rows from MSSQL SELECT statement
my $sth = $dbh->prepare("SELECT * FROM $table"); $sth->execute; while (my $array_ref = $sth->fetch) { # #do something # }
And if you're not you should probably check that your query executes too :)
----------
My cow-orkers were talking in punctuation the other day. What disturbed me most was that I understood it.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Reviewing Rows from MSSQL SELECT statement
by VSarkiss (Monsignor) on Jun 08, 2005 at 13:38 UTC |