Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.tools -> Re: Retrieving the prior record

Re: Retrieving the prior record

From: Stephen Bell <stephen.bell_at_cgi.ca>
Date: Thu, 12 Jul 2001 10:08:47 -0400
Message-ID: <3B4DAF6E.C8C05803@cgi.ca>

Hi John..

There is a PL/SQL table method called 'prior'....so,

plsql_table(i).prior should do it (note the 'dot' before the word prior)

Hope this helps,

Steve

John Johnson wrote:

> I need to take any record in a table, given the key, and retreive the
> immediately prior record in the table.
> All of the records have a sequence number, I just cannot figure out what the
> PL/SQL should look like.
>
> Thanks
> -John
  Received on Thu Jul 12 2001 - 09:08:47 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US