In this blog post, you’ll learn more about the Sybase Error Statement is not allowed in passthrough mode and the reason for receiving this error
Sybase SQL Error Message
Statement is not allowed in passthrough mode
Reason for this Error
You tried to execute a statement that cannot be executed while in passthrough mode. For example, you may have executed a batch statement.