Ask a Question related to Coldfusion Database Access, Design and Development.
-
kyle969 #1
oracle mx stored procedure
"Error Executing Database Query.[Macromedia][Oracle JDBC Driver]
Incorrect parameter bindings for stored procedure call.
Check your bindings against the stored procedure's parameters
<cfstoredproc procedure="test_prc" datasource="#cmacfuser#" returncode="yes">
<cfprocparam type="In" cfsqltype="CF_SQL_VARCHAR" value="#user.empNo#"
null="yes"/>
</cfstoredproc>
CREATE OR REPLACE PROCEDURE test_prc(pEmpNo IN VARCHAR2)
If i set returncode to "no" the procedure executes, but it does not receive
the value sent. I have an insert query in the proc that inserts the value and
sysdate into a test table. The date is inserted, but the variable is null.
kyle969 Guest
-
oracle stored procedure calling
I have two procedures test1 and test2. Resultset is returned by test2. My coldfusion code calls test1. PROCEDURE test1 (in_eid IN NUMBER,... -
stored procedure from oracle to pgsql
Dear, I'm new in pgsql, come from oracle and sql server. any one can help by transferring a pl/sql procedure that imports data from a flat file,... -
oracle, asp, stored procedure
I am trying to run a stored procedure from an asp page on an oracle 9i db. The stored procedure will take one parameter and should return two... -
asp to call Oracle stored procedure
Here is the ASP code that has problem: ADODB.Parameters error Parameter object is improperly defined... Inconsistent or imcomplete information... -
Re-create stored procedure in Oracle 8.0.5
"Richard Foote" <richard.foote@bigpond.com> wrote in message news:<yVuT9.20373$jM5.56361@newsfeeds.bigpond.com>... Hm, it sound like a good... -
CF_Oracle #2
Re: oracle mx stored procedure
Try this: <cfstoredproc procedure="test_prc" datasource="#cmacfuser#" returncode="yes">
<cfprocparam type="Inout" cfsqltype="CF_SQL_VARCHAR" variable = pEmpNo" value="#user.empNo#" null="yes"/>
CF_Oracle Guest
-
kyle969 #3
Re: oracle mx stored procedure
Still doesnt work. I removed the returncode param and it sucessfully executes, but the value is not passed to the procedure
kyle969 Guest
-
CF_Oracle #4
Re: oracle mx stored procedure
Value must be in single quote since this is VARCHAR datatype.
<cfprocparam type="Inout" cfsqltype="CF_SQL_VARCHAR" variable = "pEmpNo" value= '#user.empNo#' null="yes"/>
CF_Oracle Guest



Reply With Quote

