Loc_Nar has asked for the wisdom of the Perl Monks concerning the following question:
my $dbh = DBI->connect("dbi:mysql:db", "user", "pass", { AutoCommit => 1, RaiseError => 1}) or die &error_out; my $qry = $dbh->prepare("SELECT location FROM people") or die &error_out; $qry->execute or die &error_out;
$qry->give_me_the_size_of_the_resultset; ? :)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: How to fetch the size of the resultset from a DBI query?
by runrig (Abbot) on Sep 12, 2001 at 23:17 UTC | |
|
Re: How to fetch the size of the resultset from a DBI query?
by thpfft (Chaplain) on Sep 12, 2001 at 23:25 UTC | |
by seesik (Initiate) on Sep 12, 2001 at 23:37 UTC | |
|
Re: RTFM (Was: How to fetch the size of the resultset from a DBI query?)
by htoug (Deacon) on Sep 13, 2001 at 10:45 UTC | |
|
Re: How to fetch the size of the resultset from a DBI query?
by Loc_Nar (Novice) on Sep 13, 2001 at 20:59 UTC |