In this blog post, you’ll learn more about the Sybase Error Cursor %1 cannot be used to declare a row variable using %ROWTYPE. and the reason for receiving this error
Sybase SQL Error Message
Cursor %1 cannot be used to declare a row variable using %ROWTYPE.
Reason for this Error
Use of %ROWTYPE is not supported for the cursor. You attempted to use a cursor that cannot be used for declaring a row variable using cursor %ROWTYPE.