Re: building sets in SQL92

From: (wrong string) öder <per_at_nospam.mimer.se>
Date: 4 Jun 2001 20:39:58 GMT
Message-ID: <Xns90B6E5FB9B52pescatmimer_at_192.71.97.199>


"James Chapman" <Jim.Chapman_at_nospam.elsegundoca.ncr.com> wrote in <3b1bcb35$1_at_rpc1284.daytonoh.ncr.com>:

>Sure. The syntax is standard SQL. It does depend on an
>extra-syntactical assumption -- that there exists some table named DUAL,
>and that it contains exactly one row. Some implementations may have
>such a table by default, but,
>of course, it would be trivial to satisfy the assumption in any standard
>SQL implementation:
>
>create table DUAL (dummy integer);
>insert into DUAL values(1);

I'm just curious; what is dual about a table with a single column and a single row?

--
/Per Schröder
http://developer.mimer.com
Received on Mon Jun 04 2001 - 22:39:58 CEST

Original text of this message