Ask a Question related to Coldfusion Database Access, Design and Development.
-
Nicholas 11 #1
How to execute Oracle SP
Hello,
How can I execute Oracle Stored Procedure in CF if I don't want to provide all
parameters for that SP.
The reason is very simple: SP in Oracle can have some input parameters with
default values - so I want to use default value, but in order to use default
value, I must not provide particular parameter in a SP call...
I think it couldn't be done with 'cfstoredproc' tag as long as it doesn't
support naming parameters for Oracle in CF MX.
The only other solution is to use 'cfquery' tag. The only problem in this case
is how to return the value in a query (if SP has an output parameter). In
Oracle SP must be executed in a DECLARE-BEGIN-END block, which, as far as I
know, cannot return a query. In MS SQL I could do something like this: EXEC
sp... SELECT return_value AS some_name - and it will return a query with output
parameter in it.
So, how can I do something like this in Oracle?
Thanks for any information!
Nicholas 11 Guest
-
[Macromedia][Oracle JDBC Driver][Oracle]ORA-01000:maximum open cursors exceeded
Here is the technote from Macromedia regarding this issue: http://www.macromedia.com/go/tn_17660 Hope this helps! -
#13053 [Com]: oci8 error, this kill oracle-prosseces in the oracle-instance.
ID: 13053 Comment by: gid at gifpaste dot net Reported By: jsun at basefarm dot no Status: Bogus Bug Type: ... -
#24950 [Bgs]: Compiling PHP --with-oci8 --with oracle (Oracle 9i) fails
ID: 24950 User updated by: fschulze at more-radio dot de Reported By: fschulze at more-radio dot de Status: Bogus... -
#24950 [Com]: Compiling PHP --with-oci8 --with oracle (Oracle 9i) fails
ID: 24950 Comment by: cunha17 at uol dot com dot br Reported By: fschulze at more-radio dot de Status: Feedback... -
New 'Oracle Express / Oracle 9i OLAP' White Paper Available For Download
Plus Consultancy (http://www.plusconsultancy.co.uk) recently presented a white paper entitled "Express Evolution - What Oracle 9i OLAP Offers The...



Reply With Quote

