jwdcfdeveloper
Programmer
I need to know how do I execute an Oracle (9i) function inside of a CFMX page. I know how to use functions Selecting from dual:
<cfquery name="myQuery" datasource="ds">
Select My_Function(#cfVar#) From dual
</cfquery>
However, the function I am using calls another function inside which updates a table. The internal function (let's call it update_table(numberVar) for argument sake) does not work when using a select statement. Is there a way to execute (e.g. Using the EXEC or EXECUTE statement) this function so that the update_table runs as well as the My_Function function?
<cfquery name="myQuery" datasource="ds">
Select My_Function(#cfVar#) From dual
</cfquery>
However, the function I am using calls another function inside which updates a table. The internal function (let's call it update_table(numberVar) for argument sake) does not work when using a select statement. Is there a way to execute (e.g. Using the EXEC or EXECUTE statement) this function so that the update_table runs as well as the My_Function function?