| Oracle FAQ | Your Portal to the Oracle Knowledge Grid | |
Home -> Community -> Usenet -> comp.databases.theory -> Re: Counting propositions
"Jonathan Leffler" <jleffler_at_earthlink.net> wrote in message
news:lNjzc.160$w07.69_at_newsread2.news.pas.earthlink.net...
> x wrote:
> > "Laconic2" <laconic2_at_comcast.net> wrote:
> >>"x" <x-false_at_yahoo.com> wrote:
> >>> If tuples in a relational relation(ship) (or relvar) are
> >>> propositions, what is the meaning of:
> >>>
> >>>select count(distinct *) as nr
> >>>from <relvar>
> >>>
> >>>and the like ?
> >>
> >> Before dealing with your question, we have to decode the intent
> >> behind the wildcard.
> >>
> >> In particular, when does the wildcard get expanded to the list of
> >> all the columns? At compile time? at execution time?
> >>It makes a difference.
> >
> > At compile time.
> > But when is compile time ? :-)
>
>
>
>
Thanks for the informations.
> As a matter of good practice (and following relational theory rather
> than SQL practice), the answer to the query should be the same as:
>
>
Sorry for the distraction.
I intended to ask what is the meaning of 'nr' .
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
![]() |
![]() |