Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Simple SQL quetsion
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
![]() |
![]() |