In this blog post, you’ll learn more about the Sybase Error Cannot execute any statement other than an UPDATE while fetching update rowids and the reason for receiving this error
Sybase SQL Error Message
Cannot execute any statement other than an UPDATE while fetching update rowids
Reason for this Error
You tried to execute a statement that was not UPDATE during a sequence where the server is collecting rowids to be returned after the update completes.