In this blog post, you’ll learn more about the Sybase Error Invalid prepared statement type and the reason for receiving this error
Sybase SQL Error Message
Invalid prepared statement type
Reason for this Error
This is an internal error. If it can be reproduced, it should be reported to SAP.