Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: simple SQL question
You have to use a sequence in order to do that. Have a single column which
increments sequence on every insert, and then you can retrieve based on the
sequence.
-Bhavesh
kev wrote in message <37A82185.A36F8334_at_fast.no>...
>Hi,
>
>Just wondering - what's the best way to retrieve, say, the latest ten
>entries to a table.
>Does Oracle have a MAXROWS func (I couldn't find one in the docs)
>
>Thanks,
>
>- Kev
>
Received on Wed Aug 11 1999 - 06:37:56 CDT