SELECT returns more than one row

Item Value
SQLCODE -185
Constant SQLE_TOO_MANY_RECORDS
SQLSTATE 21000
Sybase error code 13637
ODBC 2 State ERROR
ODBC 3 State ERROR

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.