INFO: Using SQLConfigDatasource with MS Oracle ODBC Driver (179236)
The information in this article applies to:
- Microsoft ODBC Driver for Oracle (Build 2.06325) 1.0
- Microsoft ODBC for Oracle version 2.0 Build 2.73.7269
- Microsoft ODBC for Oracle version 2.5 Build 2.573.2927
- Microsoft Data Access Components 2.5
This article was previously published under Q179236 SUMMARY
This article provides a list of valid SQLConfigDatasource settings for the
Microsoft ODBC Driver for Oracle, version 1.0 (Msorcl10.dll) and the
Microsoft ODBC Driver for Oracle, version 2.0 (Msorcl32.dll).
Note that the Msorcl10.dll ODBC driver (version 1.0) supports all of the
settings below except the Server setting.
The Msorcl32.dll ODBC driver (version 2.0 and higher) supports all of the
settings listed below.
Some of the settings are ignored by the driver but are accepted by
SQLConfigDatasource. These settings can only be provided at run time by
including them in the ODBC connection string. An ignored setting will not
be stored in the registry when SQLConfigDatasource creates the data source.
You can run the sample code provided below and examine the registry
settings created to determine which settings are ignored by the particular
driver you are using.
In the chart below, A/N means any valid alphanumeric string up to the
maximum allowable length. Max Len (maximum length) is the maximum allowable
string length accepted by the setting and includes the zero terminator
character when determining the length.
Setting Max Default Valid Setting
Name Len Value Values Description
------------------------------------------------------------------
BufferSize 7 65535 1000 Minimum fetch buffer size.
to
65535
CatalogCap 2 1 0 or 1 1 means convert non-quoted
identifiers to upper case in
the catalog functions.
ConnectString 128 "" A/N Connection string. Required
method of specifying the server
name with the Msorcl10.dll
driver.
Description 256 "" A/N Description.
DSN 33 "" A/N Data source name.
NumberFloat 2 "" 0 or 1 0 means FLOAT columns are
treated as SQL_FLOAT. 1 means
FLOAT columns are treated as
SQL_DOUBLE.
PWD 30 "" A/N Password.
RDOSupport 2 "" 0 or 1 Allows RDO to call Oracle
procedures.
Remarks 2 0 0 or 1 Include REMARKS in Catalog
functions.
RowLimit 4 "" 0 Maximum number of rows returned
to by a select. A zero length
999 string or 0 means there is no
limit applied.
Server 128 "" A/N Oracle server name.
SynonymColumns 2 1 0 or 1 Include SYNONYMs in SQLColumns.
SystemTable 2 "" 0 or 1 0 means do not display system
tables. 1 means display system
tables.
TranslationDLL 33 "" A/N Translation DLL name.
TranslationName 33 "" A/N Translation name.
TranslationOption 33 "" A/N Translation option.
TxnCap 2 "" A/N Transaction capable. 0 means
the driver reports that it does
not support transactions. 1
means the driver reports it is
capable of performing
transactions.
UID 30 "" A/N User name.
Modification Type: | Major | Last Reviewed: | 12/3/2003 |
---|
Keywords: | kb3rdparty kbinfo KB179236 |
---|
|