Previous Topic: -304 - CANNOT DESCRIBE UNPREPARED STATEMENT statement_nameNext Topic: -306 - STATEMENT TYPE CANNOT BE PREPARED


-305 - SQLDA HAS count HOST VARIABLES - STATEMENT HAS count PARAMETER MARKERS

Explanation

The SQL statement has an SQLDA whose host variable count does not equal the number of parameter markers found in the statement.

The SQLSTATE that equates to this SQL return code is 53S36.

User Response

Modify the SQLDA or statement so the number of host variables matches the number of parameter markers.