Re: Re: "Oracle's ROWNUM"

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Nicolas Ronayette <nronayette(at)alphacsp(dot)com>
Cc: Hiroshi Inoue <Inoue(at)tpf(dot)co(dot)jp>, Svenne Krap <usenet(at)krap(dot)dk>, pgsql-general(at)postgresql(dot)org
Subject: Re: Re: "Oracle's ROWNUM"
Date: 2001-07-30 14:50:50
Message-ID: 20818.996504650@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Nicolas Ronayette <nronayette(at)alphacsp(dot)com> writes:
> SQL> select rownum,table_name from dba_tables where rownum > 10;

> no rows selected

> SQL> select rownum,table_name from dba_tables where rownum < 20;

> ROWNUM TABLE_NAME
> ---------- ------------------------------
> 1 IND$
> 2 FILE$
> 3 UNDO$
> 4 CLU$
> 5 BOOTSTRAP$
> 6 ICOL$
> 7 FET$
> 8 CDEF$
> 9 CON$
> 10 UET$
> 11 TAB$

> ROWNUM TABLE_NAME
> ---------- ------------------------------
> 12 OBJ$
> 13 PROXY$
> 14 COL$
> 15 USER$
> 16 TS$
> 17 CCOL$
> 18 SEG$
> 19 UGROUP$

> 19 rows selected.

(Jaw drops...) That's just too bizarre for words.

I don't think I wanna have anything to do with this construct ...

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Mike Finn 2001-07-30 16:27:24 Unexpected *ABORT STATE*
Previous Message Mitch Vincent 2001-07-30 14:49:21 Re: