Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Re: Query to return PK sequence gap ??
DA Morgan wrote:
> Serge Rielau wrote:
>> DA Morgan wrote: >>> Gokul wrote: >>>> SQL> select * from (select level from dual connect by level < 5); >>>> >>>> LEVEL >>>> ---------- >>>> 1 >>>> 2 >>>> 3 >>>> 4 >>>> >>>> SQL> >>>> >>> >>> Works properly in 11.1.0.6. >> Shouldn't this return a cycle error? >> (because the same row in DUAL is returned multiple times). >> >> Cheers >> Serge
Cheers
Serge
-- Serge Rielau DB2 Solutions Development IBM Toronto LabReceived on Mon Oct 15 2007 - 10:02:10 CDT
![]() |
![]() |