Question
Help with calling Oracle Procedure
First, let me state that I'm new to Oracle and using it with
ColdFusion, but I've used CF on and off for the past 6 years. So
this might be a simple "newbie" problem with Oracle and CF.
My boss wrote the following simple Oracle procedure to concatenate three variables together (I know I could do this in CF directly, but I need to be able to use his existing procedures in Oracle)
SPEC:
function ShowCaption(inprecaption in long,
incaption in long,
inpostcaption in long,
method in varchar2,
xcoord in number,
ycoord in number)
return long;
BODY:
function ShowCaption(
inprecaption in long,
incaption in long,
inpostcaption in long,
method in varchar2,
xcoord in number,
ycoord in number)
return long
is
begin
return inprecaption || incaption || inpostcaption;
end ShowCaption;
I'm trying to call that procedure using the attached code but when I run this code I receive the error "ORA-01008: not all variables bound" and I'm not sure why. Searching Google hasn't come up with anything and I've used other procedures, but can't seem to make this one work. I know the procedure works within Oracle as I'm able to run it.
I would really appreciate any ideas.
My boss wrote the following simple Oracle procedure to concatenate three variables together (I know I could do this in CF directly, but I need to be able to use his existing procedures in Oracle)
SPEC:
function ShowCaption(inprecaption in long,
incaption in long,
inpostcaption in long,
method in varchar2,
xcoord in number,
ycoord in number)
return long;
BODY:
function ShowCaption(
inprecaption in long,
incaption in long,
inpostcaption in long,
method in varchar2,
xcoord in number,
ycoord in number)
return long
is
begin
return inprecaption || incaption || inpostcaption;
end ShowCaption;
I'm trying to call that procedure using the attached code but when I run this code I receive the error "ORA-01008: not all variables bound" and I'm not sure why. Searching Google hasn't come up with anything and I've used other procedures, but can't seem to make this one work. I know the procedure works within Oracle as I'm able to run it.
I would really appreciate any ideas.
