Connection Options
- Last Updated: May 12, 2026
- 4 minute read
- OpenAccess SDK
- Version 8.1
- Documentation
For the connection options. set the option type to DAM_CONN_OPTION and the object handle to the current connection handle.
Connection Options Values for dam_setOption
| Option (iOption) | Option Value |
| DAM_CONN_OPTION_BLANKS_IN_ STRINGS | Determines whether the OpenAccess SDK SQL Engine ignores trailing blanks in strings when performing string comparisons and LIKE processing. The actual string values in and out of the IP are not stripped. This is useful when the database stores information with space padding but the user in the query does not provide the padded blanks. Valid values are: |
| DAM_CONN_OPTION_CASE_IN_ STRINGS | Determines whether the OpenAccess SDK SQL Engine ignores case when performing string compares. This option is useful when the database has case insensitive data. Valid values are: |
| DAM_CONN_OPTION_CASE_IN_LIKE | Determines whether LIKE processing is case sensitive. Valid values are: |
| DAM_CONN_OPTION_INDEX_ OPTIMIZATION | Determines whether the OpenAccess SDK SQL Engine performs optimization when identifying a search column. This option should not be changed unless your IP handles most of the optimization. Valid values are: |
| DAM_CONN_OPTION_JOINORDER_ USING_SEARCHCONDITION | Determines whether search conditions are used when determining the join order. Valid values are: |
| DAM_CONN_OPTION_JOINORDER_ USING_FKEY | Determines whether OA_FKEYS information is used when determining the join order. Valid values are: |
| DAM_CONN_OPTION_JOINORDER_ USING_STARJOIN | Enables star join detection and optimization. Valid values are: |
| DAM_CONN_OPTION_JOINORDER_ USING_STATISTICS |
Determines whether the OpenAccess SDK SQL Engine considers the cost-based join order algorithm when determining the order to join tables when executing a query.Valid values are: |
| DAM_CONN_OPTION_JOINORDER_ VERIFY_INDEX_ON_JOIN_CONDITION | Determines whether the OpenAccess SDK SQL Engine checks if inner tables have an index on the join conditions. If inner tables do not have an index on join conditions, the join ordering should not be used. This is used to check if join ordering based on search condition or foreign keys should be used. Valid values are: |
| DAM_CONN_OPTION_NEGATIVE_ ZERO_RESULT | Determines whether the OpenAccess SDK SQL Engine converts negative zero to zero. Valid values are: |
| DAM_CONN_OPTION_NUMERIC_ RESULT | Determines whether the result from an aggregate function that operates on SQL_NUMERIC data is rounded to the scale of the input.create table atypes(id integer, numerictype numeric(8,2)) |
| DAM_CONN_OPTION_POST_ PROCESSING | Determines whether the OpenAccess SDK SQL Engine performs post-processing (GROUP BY, ORDER BY). This option is used when using SQL pass-through mode. Valid values are: |