tags:

views:

170

answers:

1

i had a stored proc for which i made changes and added 2 new form fields to a stored proc and then ran it successfully now when i revoke the stored proc and run , it runs successfully but in the coldfusion it gives the error

[Macromedia][SQLServer JDBC Driver][SQLServer]Insert Error: Column name or number of supplied values does not match table definition. 


90 :     <cfprocparam  type="in" cfsqltype="CF_SQL_INTEGER" dbvarname="@reportMonth"  value="#xxMDB#">
91 :     <cfprocparam  type="in" cfsqltype="CF_SQL_INTEGER" dbvarname="@orderBy"     value="#xxOBDB#">
92 :     **<cfprocresult name="xxResult">**
93 : </cfstoredproc>
+1  A: 

Since ColdFusion MX:

Changed the dbvarname attribute behavior: it is now ignored for all drivers. ColdFusion uses JDBC 2.2 and does not support named parameters.

http://www.cfquickdocs.com/cf8/#cfprocparam

Henry
this is a prexisting code , so it should work right?
Rames
you decide.
Henry
@Henry: +1, and one virtual bonus point for cfquickdocs. :) Very nice, thanks.
Tomalak
Tomalak
thanks henry for the link and thanks tomalak for the CFadmin path.the error got corrected when the SQL server was rebooted once agiantoday morning.intact before that there was an undetected DB error too
Rames