determing number of records returned with DBI

From: Andrew Gaffney (agaffney_at_skylineaero.com)
Date: 03/30/04


Date: Tue, 30 Mar 2004 11:04:49 -0600
To: beginners <beginners@perl.org>

Is there a way to find out how many records were returned with a DBI query? There's the
obvious counting each record as you fetch it, but I need the count before I start going
through them.

-- 
Andrew Gaffney
Network Administrator
Skyline Aeronautics, LLC.
636-357-1548


Relevant Pages

  • Re: determing number of records returned with DBI
    ... Andrew Gaffney wrote: ... > obvious counting each record as you fetch it, but I need the count before I start going ... You might want to look at your DBD documentation, as it may have something specific to how the DBD/DBI interface can access the row count infomation for you. ...
    (perl.beginners)
  • Re: determing number of records returned with DBI
    ... Andrew Gaffney wrote: ... There's the obvious counting each record as you fetch it, ...
    (perl.beginners)