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 -> Getting NON-existing data

Getting NON-existing data

From: Niek Kerkemeijer <Niek.Kerkemeijer_at_nob.nl>
Date: Tue, 22 Jun 1999 10:53:02 +0200
Message-ID: <376F4EEE.1383@nob.nl>


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 Tue Jun 22 1999 - 03:53:02 CDT

Original text of this message

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