ODBC Connector Options

You can assign connector options by setting USYS$ODx_PARAMS in the [DRIVER_SETTINGS] section of the assignment file.

USYS$ODx_PARAMSOption {, Optionn}

Description

Most connector options are enable options; a specific feature is enabled by setting the option. Some options have a numeric parameter (a nonnegative decimal integer). Each numeric option has a default value, although the range of valid values is option-specific.

Syntax Rules

The syntax rules for USYS$ODx_PARAMS are:

  • Each option may be specified only once

  • Multiple options must be separated by commas (,)

  • For specifying multiple options, you can use the short format

  • Words and numbers within each option are separated by one or more spaces or tabs

  • Options are not case-dependent

  • All options have the form Directive=Value. Instead of the equal sign (=), a colon can be used. For example:

    USYS$OD0_PARAMS = step : 20, default locking = O

ODBCCONF Settings and ODBC Options

The previous ODBC Connector had a configuration tool called ODBCCONF, which has been replaced by new configuration utilities uodbccfg.exe (for version U4.0) and uodbccfg41.exe (for version U4.1). The following tables show the old ODBCCONF settings and their equivalent ODBC options in the Uniface ODBC Connector.

ODBCCONF Settings Mapped to ODBC Options

ODBCCONF Setting

ODBCCONF Value

ODBC Option Name

ODBC Option Value

Index type

Datasource (default)

Paradox tables

Foxpro tables

DOS file system

key syntax

index (default)

paradox

foxpro

dosfile

Primary key clause

None

Constraint

Primary key

key syntax

See Index type

constraint

primary key

Table / Column case

Uppercase / Lowercase

identifier case

upper (default) / lower

Map dates to timestamps

 

date as timestamp

on (default) / off

Map times to timestamps

 

time as timestamp

on (default) / off

Limits of open tables

Number

open statements

Number

Implicit ODBCCONF Settings Mapped to ODBC options

ODBCCONF Setting

ODBCCONF Value

ODBC Option Name

ODBC Option Value

Identifier quote character

identifier quote char

Commonly " (double quote) or ' (single quote)

table name size

Maximum size of table name

field name size

Maximum size of field name

non-null columns

on or off

record size

Maximum size of record (row)

identifiers

quoted or unquoted

Obsolete ODBCCONF Settings

ODBCCONF Setting

ODBCCONF Value

Commit on create table

 

Character dates as YYMMDD

On / Off

Date base date

 

Related Topics