Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: Counting number of rows
If you don't need to be 100% accurate AND have analyzed that table with compute statistics recently:
SELECT num_rows
FROM DBA_TABLES
WHERE table_name ='GL_BALANCES';
Jerry Whittle
ASIFICS DBA
NCI Information Systems Inc.
jerome.whittle_at_scott.af.mil
618-622-4145
> -----Original Message-----
> From: Potluri, Venu (CT Appl Suppt) [SMTP:venu_potluri_at_ml.com]
>
> Is there a quick way to count number of rows in a table? Don't want to do select count(*) from..... on a table (such as GL_BALANCES) with more than 250 million rows.
>
-- Archives are at http://www.freelists.org/archives/oracle-l/ FAQ is at http://www.freelists.org/help/fom-serve/cache/1.html -----------------------------------------------------------------Received on Tue Feb 17 2004 - 14:37:21 CST
![]() |
![]() |