I have a procedure in Oracle 9i, declared:
TYPE ref_cursor IS REF CURSOR;
...
PROCEDURE get_available_reports(user_name_in IN VARCHAR2,
available_reports_out OUT ref_cursor);
and I'm having no luck getting the result set back.
I though, based on the docs and a recent Macromedia.com article, that
<cfstoredproc dataSource="#request.dsn#"
procedure="bf_report.client_facade_pkg.get_available_reports" >
<cfprocparam dbVarName="user_name_in" value="#iUserId#"
cfsqltype="CF_SQL_VARCHAR">
<cfprocresult name="qReports" >
</cfstoredproc>
would work, but that gets me
"wrong number or types of arguments in call to 'GET_AVAILABLE_REPORTS'"
If I try and use a cfprocparam out parameter, I get a dbvartype conflict
(=2006).
Anyone fancy pointing out the early morning obvious ?
--
Tom Chiverton
Advanced ColdFusion Programmer
Tel: +44(0)1749 834997
email: [EMAIL PROTECTED]
BlueFinger Limited
Underwood Business Park
Wookey Hole Road, WELLS. BA5 1AF
Tel: +44 (0)1749 834900
Fax: +44 (0)1749 834901
web: www.bluefinger.com
Company Reg No: 4209395 Registered Office: 2 Temple Back East, Temple
Quay, BRISTOL. BS1 6EG.
*** This E-mail contains confidential information for the addressee
only. If you are not the intended recipient, please notify us
immediately. You should not use, disclose, distribute or copy this
communication if received in error. No binding contract will result from
this e-mail until such time as a written document is signed on behalf of
the company. BlueFinger Limited cannot accept responsibility for the
completeness or accuracy of this message as it has been transmitted over
public networks.***
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

