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.
Last Wiki Answer Submitted: July 8, 2008 3:22 pm by YuvalShavit905 pts.
If you live outside the United States, by submitting your email address you consent to having your personal data transferred to and processed in the United States.