I have made a select, that retrieves +/- 3000000 records, and i would like to know how can i fetch the records retrieved, for example the first 100 records, the next 100 records, etc...
Mitch:
Take a look at the FETCH FIRST x ROWS clause which allows you to retrieve a certain number of rows. But, if you are trying to retrieve the rows in batches you may have to use a cursor.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.