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 错误消息 (T-Z)

 

子查询不能返回多个行

错误常量 SQLE_SUBQUERY_RESULT_NOT_UNIQUE
ODBC 2 状态 37000
ODBC 3 状态 42000
严重级 16
SQLCODE –186
SQLSTATE 21W01
Sybase 错误代码 512
可能的原因

在只能使用单行的上下文中,您使用了返回多行的子查询。如果该子查询在 WHERE 子句中,则可以使用 IN 关键字。