Status/Resolution/Reason: Needs Review//
Reporter/Name(from Bugbase): Aaron Neff / Aaron Neff (Aaron Neff)
Created: 01/07/2015
Components: Database
Versions: 11.0
Failure Type: Enhancement Request
Found In Build/Fixed In Build: CF11_Final /
Priority/Frequency: Trivial / Unknown
Locale/System: English / Win All
Vote Count: 10
CF11 Update 3 restored cfprocparam's deprecated dbvarname functionality. Thanks! It would be further helpful if dbvarname's db-specific prefix was auto-prepended if it was omitted. (credit for this idea goes to Adam Cameron)
Copying my 1:29:15 AM GMT+00:00 Jan 6, 2015 comment from #3865064 to here:
-----------
I do realize Update 3 simply restored the deprecated behavior, but I also would like to echo Adam's statement/question: "why if SQL Server and Oracle NEED special prefixes, and you KNOW this, why the CF code doesn't prepend them".
This reminds me of when cfquery, for INSERT queries, returned a db-specific variable name containing the automatically-generated ID. Later, CF simplified this and supported all databases w/ a "result_name.GENERATEDKEY" variable. Can't CF offer the same simplicity for these parameter prefixes (i.e. simply auto-prepend the db-specific prefix if it was omitted)?
-----------
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID: 3916950
External Customer Info:
External Company:
External Customer Name: itisdesign
External Customer Email:
Attachments:
Comments: