Reply to thread

Well I'll be dammned if you're not right.  It doesn't work. 


The manual explicitly states:

An ORDER BY clause that is part of a SELECT statement may be assigned a collation sequence to be used for the sort operation explicitly. In this case the explicit collation sequence is always used. Otherwise, if the expression sorted by an ORDER BY clause is a column, then the default collation type of the column is used to determine sort order. If the expression is not a column, then the BINARY collation sequence is used.


I've even tried creating the column with a COLLATE NOCASE or REVERSE and it doesn't have any effect on the sort order.  WTF?  I know I've done this before and it has worked.  Is our expression not a column?  Clearly it is.


Top Bottom