Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 11.0.1 (中文) » 错误消息 » SQL Anywhere 错误消息 » 按消息文本排序的 SQL Anywhere 错误消息 (A-C)

 

窗口函数需要 ORDER BY

错误常量 SQLE_ORDERBY_REQUIRED
ODBC 2 状态 ERROR
ODBC 3 状态 ERROR
严重级 16
SQLCODE –965
SQLSTATE 42WA9
Sybase 错误代码 13525
可能的原因

使用 RANGE 关键字的秩函数和窗口函数必须指定 ORDER BY 子句。