Previous Topic: -305 - SQLDA HAS count HOST VARIABLES - STATEMENT HAS count PARAMETER MARKERSNext Topic: -307 - STATEMENT-NAME statement_name CAN ONLY BE USED WITH ONE CURSOR


-306 - STATEMENT TYPE CANNOT BE PREPARED

Explanation

The SQL statement cannot be prepared using dynamic SQL.

The SQLSTATE that equates to this SQL return code is 07S06.

User Response

Modify the SQL statement type or statically prepare the SQL statement.