LesStockton
Programmer
I'm going through a simple database table doing a
Select * from tablename order by blah
I'd like to get the total number of rows and also be able to tell what record I'm on as I go through it, so that I can show a percentage complete message as progressing.
How do I get the current position within the record set, and the total number of records so that I can make this calculation?
I figure I can count as I go and get current row, but I still need total rows.
Select * from tablename order by blah
I'd like to get the total number of rows and also be able to tell what record I'm on as I go through it, so that I can show a percentage complete message as progressing.
How do I get the current position within the record set, and the total number of records so that I can make this calculation?
I figure I can count as I go and get current row, but I still need total rows.