Improve the performance of prepared statements with the ODBC driver by suppressing parameter format metadata when the prepared statements are re-executed.
Adaptive Server 15.7 ESD#1 and later supports parameter format metadata suppression.
To suppress parameter format metadata, set the DynamicPrepare connection property to 1, and then use the SuppressParamFormat connection string property.
0 – parameter format metadata is not suppressed in prepared statements.
1– the default value; parameter format metadata is suppressed where possible.
DSN=sampledsn;UID=user;PWD=password;;DynamicPrepare=1;SuppressParamFormat=1;