Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Re: The use of COUNT(*)
On Fri, 10 Jul 1998 18:04:00 GMT, doid <doid_at_usa.net> wrote:
>Been there:)
>
>1) count(*) won't count nulls. this can screw up your logic
>sometimes...anyway, it's much more efficent to count( <some indexed column> )
>or count(1)
If there is no specific condition in the WHERE clause then:
Regards,
--
Jurij Modic <jmodic_at_src.si>
Certified Oracle7 DBA (OCP)
![]() |
![]() |