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: PL/SQL, dynamic calling a procedure

Re: PL/SQL, dynamic calling a procedure

From: Loyal Barber <lbarber_at_flash.net>
Date: 1997/09/19
Message-ID: <3422D576.6B04@flash.net>#1/1

Botschek Herbert wrote:
>
> Hi
> does anyone know how to call dynamically a stored procedure
> in a stored procedure and the procedure which will be
> called has a out parameter.
>
> ------------------------------------------
> Prozedure which will be called: GDM.fahrt(v_name OUT)
>
> PROCEDURE the_caller
>
> cur_id number;
> statement varchar2(200);
>
> BEGIN
>
> statement := 'BEGIN GDM.fahrt(:v_name); end;';
>
> DBMS_SQL.open_cursor;
>
> DBMS.parse(cur_id, statement, DBMS_SQL.V7);
>
>
> .....
> ...
> ...
>
> ==> hier, I down't know how to retrieve the Value
> from the variable : v_name !!!!
>
> Thanks for the help..
>
> Herbert

I would think you should be able to do it using the dynamic sql package dbms_sql.

Loyal Received on Fri Sep 19 1997 - 00:00:00 CDT

Original text of this message

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