Anda dapat menggunakan ini:
select your_sequence.nextval
from (
select level
from dual
connect by level < 1000
);
Anda dapat menggunakan ini:
select your_sequence.nextval
from (
select level
from dual
connect by level < 1000
);