Skip to Main Content

SQL Developer

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Rownum and Fetch next advantages and disadvantages

bac15c63-e3fd-4ed0-a5fe-2dacb0fecfa3Aug 24 2020 — edited Aug 24 2020

i am working on large data and wants to fetch 1000 rows on every iteration so used following queries:

select * from Base_table where uuid > 325666 and rownum <=1000

select * from Base_table where uuid >325666 fetch next 1000 rows only

My question,  what is the advantages and disadvantages of both query and  which one will be good in terms of performance.

Comments
Post Details
Added on Aug 24 2020
1 comment
1,517 views