Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> Re: a simple SELECT ?
You didn't mention the language/interface you want to do this in.
Let's assume Pro*C, PL/SQL, or OCI, and you can look for the same capability in your environment.
Define a cursor to the rows you want ordered by date (ascending or descending), and write a loop to fetch up to ten records.
--
![]() |
![]() |