Status/Resolution/Reason: Closed/Withdrawn/NotABug
Reporter/Name(from Bugbase): Leighton Wingerd / Leighton Wingerd (MarsupialsDo)
Created: 12/09/2014
Components: Database
Versions: 11.0
Failure Type: Non Functioning
Found In Build/Fixed In Build: CF11_Final /
Priority/Frequency: Critical / All users will encounter
Locale/System: English / Win 64
Vote Count: 7
Problem Description: <cfprocresult name="varname"> results in an "Invalid syntax near '='" error message
Steps to Reproduce: Create a cfm or cfc that calls a stored procedure using <cfstoredprocedure> and access the results using the <cfprocresult> tag. Example:
<CFSET connection_string = "THD4_SQL">
<CFSET asi_product_code = 'H'>
<CFSTOREDPROC datasource="#connection_string#" procedure="qryGetTimeFrames">
<CFPROCPARAM dbvarname="TimeFrame" cfsqltype="CF_SQL_INTEGER" value="29">
<CFPROCPARAM dbvarname="asi_prd" cfsqltype="CF_SQL_STRING" value='#asi_product_code#'>
<CFPROCPARAM dbvarname="FROM_DATE" cfsqltype="CF_SQL_DATE" null="yes">
<CFPROCPARAM dbvarname="TO_DATE" cfsqltype="CF_SQL_DATE" null="yes">
<CFPROCRESULT name="qry" >
</CFSTOREDPROC>
<cfoutput query="#qry#">
#TIMEFRAME#<BR>
</cfoutput>
Actual Result: "Invalid syntax near '='" on the <cfprocresult> line
Expected Result: Stored procedure should execute and return results in variable named in <cfprocresult> tag
Any Workarounds: Uninstall update 3
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID: 3865064
External Customer Info:
External Company:
External Customer Name: MarsupialsDo
External Customer Email:
External Test Config: My Hardware and Environment details:
Attachments:
- December 10, 2014 00:00:00: 1_cfprocresult_result.txt
Comments: