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 -> Simple SQL quetsion

Simple SQL quetsion

From: Nimrod Oren <orenn_at_inter.net.il>
Date: 1997/06/12
Message-ID: <339F1A31.3242EF0@inter.net.il>#1/1

I'm using the rule-based optimizer and I try to get the number of records from a table with a composite primary-key. Select count(*) does a full table scan. Is there a way to count the occurrences of the primary key (hopefully without hints)? Received on Thu Jun 12 1997 - 00:00:00 CDT

Original text of this message

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