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

Home -> Community -> Usenet -> c.d.o.server -> Re: Getting NON-existing data

Re: Getting NON-existing data

From: C. <c_ferguson_at_rationalconcepts.com>
Date: Thu, 24 Jun 1999 00:08:53 -0700
Message-ID: <3771D984.366236C5@rationalconcepts.com>


Hi,
 Create a sequence.
C. Ferguson, Rational Concepts.

Niek Kerkemeijer wrote:

> Hi,
>
> I have a nice question:
> I need oracle to generate a number-range for me without having
> a table containing these values.
>
> Example:
> I have an empty database (there are no tables in it) and I need
> a query which results in the following:
>
> +------+
> | id |
> +------+
> | 1 |
> | 2 |
> | 3 |
> | 4 |
> | 5 |
> | 6 |
> | 7 |
> | 8 |
> | 9 |
> | 10 |
> +------+
>
> Any ideas?
>
> Niek.
Received on Thu Jun 24 1999 - 02:08:53 CDT

Original text of this message

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