Question
Stored Procedure Does Not Work
I am trying to run the following code against a MSSQL 2k SP4
DB. When I run the procedure in query analyizer it works fine.
However when I use the following code, CF throws back "Error
Executing Database Query" when in debugging mode. Which of course
tells me little to nothing. So my question is does anyone see
anything wrong with this block of code?
<cfoutput>
<cfset Parent=0>
<cfstoredproc procedure="SpotsyFindLastInherit" datasource="CMS300DB">
<cfprocparam cfsqltype="cf_sql_integer" type="in" dbvarname="@CurrentFolderID" value="#GetContent.folder_id#">
<cfprocparam cfsqltype="cf_sql_integer" type="out" dbvarname="@ParentID" variable="Parent">
</cfstoredproc>
#Parent#
</cfoutput>
Edit:
This is on CF7 Enterprise
<cfoutput>
<cfset Parent=0>
<cfstoredproc procedure="SpotsyFindLastInherit" datasource="CMS300DB">
<cfprocparam cfsqltype="cf_sql_integer" type="in" dbvarname="@CurrentFolderID" value="#GetContent.folder_id#">
<cfprocparam cfsqltype="cf_sql_integer" type="out" dbvarname="@ParentID" variable="Parent">
</cfstoredproc>
#Parent#
</cfoutput>
Edit:
This is on CF7 Enterprise