| Oracle FAQ | Your Portal to the Oracle Knowledge Grid | |
Home -> Community -> Usenet -> c.d.o.server -> Re: How to retrive Deleted Sequence Number????
Michel Cadot wrote:
>>>The best way i know is: >>> >>>select rownum >>>from (select 1 from dual group by cube(1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20)) >>>where rownum<=900000 >>>/ >>> >>>or you can use a PL/SQL function to generate the numbers. >>>But if you want to use SQL, you can't avoid selecting. >>> >> >>At least on my test machine (10g) this is totally not viable. I started the query about 14hours
>>and it's still running. Would you care to elaborate a bit more how to use this query? >>
Thanks for clarifying. The phrase 'The best way i know is:' was a bit misleading, though.
Cheers,
Holger
Received on Fri Nov 05 2004 - 06:03:44 CST
![]() |
![]() |