Get RecCount without a count(...)?

Discussion of open issues, suggestions and bugs regarding ODAC (Oracle Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
vortex
Posts: 4
Joined: Wed 28 Jun 2006 12:35

Get RecCount without a count(...)?

Post by vortex » Wed 28 Jun 2006 12:42

Hi!

I was wondering if there was some smart way to retrieve record count without actually running a count (which getreccount seems to do)?

Our problem is that the query answers might:
* be quite large (possibly millions of rows)
* take a loong time (as in hours in some odd cases)
which means we do not want to run the same query twice (as in a separate count) or fetch all rows (at least not default).

Is this possible?

Challenger
Devart Team
Posts: 925
Joined: Thu 17 Nov 2005 10:53

Post by Challenger » Thu 29 Jun 2006 10:58

As far as we know there are no other ways to determine record count.

Post Reply