Re: functions as parameters

From: DanHW <danhw_at_aol.com>
Date: 4 Apr 1999 15:56:30 GMT
Message-ID: <19990404115630.01615.00002432_at_ng114.aol.com>


>I would like to pass the name of a function as a parameter to a procedure.
>Then within the procedure I would like to execute the function that is passed
>in. For example:
>
>Draw_Circle('Get_Circle_Points') - call
>- Get_Circle_Points is the name of a function
>
>
>From within the Procedure Draw_Circle I would like to execute
>Get_Circle_Points - any idea how to go about doing this? (I know I could pass
>a flagged and use an if statement but I would like a cleaner solution)
>

I have not tried it, but you should be able to do it using the DBMS_SQL package.

Dan Hekimian-Williams Received on Sun Apr 04 1999 - 17:56:30 CEST

Original text of this message