RATE THIS ANSWER
0
Click to Vote:
0
0
The standard SQL approach would be "select count (*) from tableName". Some DBs maintain internal counters that return this result as a simple lookup rather than having to actually count each individual row. Without knowing anything on Oracle 9i specifically, I would guess that it's one of those DBs.