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

Home -> Community -> Usenet -> c.d.o.server -> Re: functions with more than one result-rows

Re: functions with more than one result-rows

From: TurkBear <john.greco_at_dot.state.mn.us>
Date: Wed, 29 Jan 2003 11:14:44 -0600
Message-ID: <eu2g3vsdminkjsqhsoujgv2boitor9imgo@4ax.com>

Check your Oracle docs concerning REF CURSORS...

That should get you going..

"Andreas Neef" <aneef_at_oasdatic.de> wrote:

>Hi everybody!
>
>I'm a newbi in Oracle. From other sql-servers I know, that multiple
>result-rows from a stored procedure are possible. Now I need these
>procedures in Oracle 8. How may I realize them?
>
>Example from interbase:
>
>CREATE PROCEDURE SP_ADRESSE_DRUCKEN
>RETURNS ( ..... )
>AS
>DECLARE VARIABLE ANS_ID INTEGER;
>begin
> for SELECT-STATEMENT-1 do
> begin
> ...
> suspend; /* SUSPEND returns values to caller */
> for SELECT-STATEMENT-2do
> begin
> ...
> suspend; /* SUSPEND returns values to caller */
> end
> end
>end
>
>Thanks for your help.
>
>Andreas, Germany.
>
Received on Wed Jan 29 2003 - 11:14:44 CST

Original text of this message

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