tracker issue : CF-3861322

select a category, or use search below
(searches all categories and all time range)
Title:

Improve scalar functions in query of query

| View in Tracker

Status/Resolution/Reason: To Fix//Investigate

Reporter/Name(from Bugbase): Adam Cameron / Adam Cameron (Adam Cameron)

Created: 12/03/2014

Components: Language

Versions: 11.0

Failure Type: Enhancement Request

Found In Build/Fixed In Build: CF11_Final /

Priority/Frequency: Trivial / Unknown

Locale/System: English / Platforms All

Vote Count: 8

QoQ has, I think, only these functions:
avg()
count()
max()
min()
sum()
upper()
lower()

Not bad for a first try (although the casing ones didn't even make it in the first try, I think?), but there are really a lot of scalar functions an SQL implementation ought to support.

Obviously Adobe are not in the business of creating a DB platform, but as a minimum a few ought to be added:
* time part extraction like year() / month() / day() / hour() / minute() / second()
* datediff() / dateadd()
* substring() / replace() / trim()

Again, I thought I (or someone) had already raised a ticket to this effect, but I cannae find it anywhere.

-- 
Adam

----------------------------- Additional Watson Details -----------------------------

Watson Bug ID:	3861322

External Customer Info:
External Company:  
External Customer Name: Adam Cameron.
External Customer Email:  
External Test Config: My Hardware and Environment details:

Attachments:

Comments:

Any enhancements to QoQ would be very welcome
Vote by External U.
9772 | December 03, 2014 03:38:46 AM GMT
These would definitely be useful additions.
Vote by External U.
9773 | December 03, 2014 10:02:54 AM GMT
hell yes! hell yes! hell yes! hell yes! hell yes!
Vote by External U.
9774 | December 03, 2014 11:28:57 AM GMT
Please add these features. QoQ functionality is great but is long overdue for some attention.
Vote by External U.
9775 | December 03, 2014 06:38:27 PM GMT
This feature should have been included a long time ago.
Vote by External U.
9776 | December 04, 2014 09:32:54 AM GMT
+1 ......................
Vote by External U.
9777 | December 06, 2014 06:30:12 AM GMT
...........................................
Vote by External U.
9778 | September 30, 2015 05:13:37 PM GMT
Can you please let us know which of these suggestions (or any others) you plan to take up, here?
Comment by External U.
9768 | October 01, 2015 12:37:13 AM GMT
+1.......................................
Vote by External U.
9779 | October 01, 2015 05:07:24 PM GMT
We are yet to explore this. Once we do that, we will update. As of now, the plan is to add them all.
Comment by Rupesh K.
9769 | October 05, 2015 10:21:11 AM GMT
Cool: thanks for the interim update.
Comment by External U.
9770 | October 05, 2015 10:24:43 AM GMT
Can you please confirm in what version of ColdFusion this is going to be implemented in. It says "to fix" but does not say which version.
Comment by External U.
9771 | January 25, 2016 08:22:06 AM GMT