In this blog post, you’ll learn more about the Sybase Error Invalid statement and the reason for receiving this error
Sybase SQL Error Message
Invalid statement
Reason for this Error
The prepared statement is invalid. In Embedded SQL, an OPEN or EXECUTE failed.