In this blog post, you’ll learn more about the Sybase Error Invalid SQL descriptor name and the reason for receiving this error
Sybase SQL Error Message
Invalid SQL descriptor name
Reason for this Error
You attempted to deallocate a descriptor that has not been allocated.