SteveDingle
Programmer
Heya All,
Old one I'm sure but finding I have to have a revisit it. I need the number of records, non-deleted, in a table. Of course because of deleted records, RECCOUNT() isn't an option and because some table have 10's of millions of record (yes close to the 2 gig limit) a SELECT COUNT(*).. is just taking too long.
COUNT/CALCULATE seems to be quicker, about 1/2 the time, but still not as fast as I would like.
I do know indexes on DELETE() would help but I can't guarantee they will be there and I am looking for generic solutions
So, wondering if any of y'all clever geeks out there have any other suggestions
Toodles,
Steve Dingle
D&S Business Solutions Ltd
Old one I'm sure but finding I have to have a revisit it. I need the number of records, non-deleted, in a table. Of course because of deleted records, RECCOUNT() isn't an option and because some table have 10's of millions of record (yes close to the 2 gig limit) a SELECT COUNT(*).. is just taking too long.
COUNT/CALCULATE seems to be quicker, about 1/2 the time, but still not as fast as I would like.
I do know indexes on DELETE() would help but I can't guarantee they will be there and I am looking for generic solutions
So, wondering if any of y'all clever geeks out there have any other suggestions
Toodles,
Steve Dingle
D&S Business Solutions Ltd