Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> Best way to execute a function

Best way to execute a function

From: Sandra Becker <sbecker6925_at_gmail.com>
Date: Fri, 8 Jun 2007 08:47:38 -0600
Message-ID: <3c5f7820706080747h74a8d019u7a949419487e4e3d@mail.gmail.com>


RHEL 4.0, Oracle 9.2.0.8, Java.

A developer just asked me the best way to execute a function. I can't say that I've ever seen it outside of a procedure and haven't found any information on another way to do it during my search this morning. He said he tried using a call statement, but couldn't get it to return any results. He is currently using the following statement:

select pwrfunc.oragen_at_customersite(RPAD(?, 25)||RPAD(?, 25)||RPAD(?, 30)|| RPAD(?, 60)) from dual;

Any suggestions?

Sandy

--
http://www.freelists.org/webpage/oracle-l
Received on Fri Jun 08 2007 - 09:47:38 CDT

Original text of this message

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