In this blog post, you’ll learn more about the Sybase Error No current row of cursor and the reason for receiving this error
Sybase SQL Error Message
No current row of cursor
Reason for this Error
You attempted to perform an operation on the current row of a cursor, but the cursor is not positioned on a row. The cursor is before the first row of the cursor, after the last row, or is on a row that has since been deleted.