Icon View Thread

The following is the text of the current message along with any replies.
Messages 11 to 12 of 12 total
Thread Strange "ORDER BY Clause not allowed" error in SQL Statement
Tue, Nov 8 2016 12:28 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Adam,

Beautiful, thank you.

Yeah, it's just EDB being overly-aggressive in the query compilation phase.  It's making sure that you don't try to do an ORDER BY in a situation where you're not selecting any columns, only expressions and aggregates.  However, it's doing it wrong. Smile It needs to also look to see if you've specified a GROUP BY, which you have, in which case it should let it go.

I'll have a fix up in the next minor release (not a new build, due to some new stuff).

The workaround is to simply leave that commented-out column in, if possible.

Tim Young
Elevate Software
www.elevatesoft.com
Wed, Nov 9 2016 7:09 AMPermanent Link

Adam Brett

Orixa Systems

Tim,

Cool, I get it now: All the columns were computed / generated in the version that gives the error. It is such a rare case it doesn't matter much, but as you say it _should_ work, so brilliant if it can be fixed in a future release.
« Previous PagePage 2 of 2
Jump to Page:  1 2
Image