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 November 10, 2011. Send feedback on this help topic to Sybase Technical Publications:
pubs@sybase.com