Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

PL/SQL - returning N records after a specific record

Status
Not open for further replies.

cybertag

Programmer
Nov 6, 2002
2
US
Hi,

With PL/SQL I would like to:

1. retrieve a subset of rows ( ... sum(xxx) ... group by )
2. look up for one specific record in this subset
3. read N records after the retrieved record
4. return the result so I can read the records using
a Java 'CallableStatement'

I know how to get the data in Java but I don't
know how to generate the data in the stored procedure.

Any help would be appreciated.

Thank you very much

Didier
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top