'%1' statement is not allowed on a mirrored database

Error constant SQLE_STMT_NOT_ALLOWED_WITH_MIRRORING
ODBC 2 state ERROR
ODBC 3 state ERROR
Parameter 1 Statement that generates the error.
Severity 16
SQLCODE -1288
SQLSTATE WW120
Sybase error code 13666
 Probable cause