Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> functions with more than one result-rows
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
Thanks for your help.
Andreas, Germany. Received on Wed Jan 29 2003 - 10:40:14 CST