Composite ORDER BY not allowed with RANGE
Item
Value
SQLCODE
-966
Constant
SQLE_ILLEGAL_COMPOSITE_ORDERBY
SQLSTATE
42WAA
Sybase error code
13524
ODBC 2 State
ERROR
ODBC 3 State
ERROR
Probable cause
Window functions that use the RANGE keyword may only ORDER BY a single column.