Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Executing a procedure from within another procedure dynamically
I'm using V7.3. Is there any way to call a stored procedure from
within another stored procedure WITHOUT hard-coding the name in the
first stored procedure?
I tried:
DBMS_SQL.PARSE(c, 'EXECUTE ' || procedure_name, DBMS_SQL.v7)
("c" is the return value from an OPEN_CURSOR; "procedure_name" is a
VARCHAR2 containing the name of an existing procedure)
but it returned an ORA-00900 error ("Invalid SQL statement").
Sent via Deja.com http://www.deja.com/
Before you buy.
Received on Wed Nov 24 1999 - 11:59:58 CST