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

Home -> Community -> Usenet -> comp.databases.theory -> Re: Celko: help with an experiment

Re: Celko: help with an experiment

From: David Cressey <david_at_dcressey.com>
Date: Sun, 14 Jul 2002 13:49:07 GMT
Message-ID: <njfY8.19$Jd4.2110@petpeeve.ziplink.net>


> That one is easy. If the table is not empty (NULLs will not matter),
> you get the same answer. If the table is empty, then SUM(1) returns
> NULL and COUNT(*) returns 0.
>
> It is another verison of this "set as a completed whole" versus "set
> as a collection of things" problem.

Still, it might be worth asking your experimenters to try it, and see if any existing products give unexpected results. Received on Sun Jul 14 2002 - 08:49:07 CDT

Original text of this message

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