Error 185

"SELECT returns more than one row"

Item Description

SQLCode

-185L

Constant

TOO_MANY_RECORDS

SQLState

21000

ODBC 2 State

ERROR

ODBC 3 State

ERROR

Sybase Error Code

2116

Severity Code

16

Probable cause

You tried to use a SELECT statement without a cursor, but the statement cursor returns more than one row. Only a single row SELECT statement can be used in this context.


Created April 27, 2010. Send feedback on this help topic to Sybase Technical Publications: pubs@sybase.com