Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Counting Records

Counting Records

From: Tom Miskiewicz <miskiewicz2_at_yahoo.com>
Date: Sun, 12 Oct 2003 17:45:41 +0200
Message-ID: <bmbt0b$it9$1@news.gatel.net>


Hello!

What is the most efficient way of counting records in a table? I want to count records in a table that match my query. How do I do that? I guess that select count(1) from table_name where fieldA='something' isn't the most elegant thing I can do?

Thanks
Tom Received on Sun Oct 12 2003 - 10:45:41 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US