Microsoft KB Archive/827574

= Information about the GuessTheColDef connection string attribute of the ODBC Driver for Oracle =

Article ID: 827574

Article Last Modified on 11/26/2007

-

APPLIES TO


 * Microsoft Open Database Connectivity 2.5
 * Microsoft Open Database Connectivity 2.0
 * Microsoft ODBC Driver for Oracle (Build 2.06325) 1.0
 * Microsoft Data Access Components 2.5

-





INTRODUCTION
This article contains information about the GuessTheColDef connection string attribute of the Microsoft ODBC driver for Oracle.



MORE INFORMATION
The ODBC driver for Oracle contains a connection string attribute that is named GuessTheColDef. The GuessTheColDef attribute specifies whether the ODBC driver must return a non-zero value or a zero value for the cbColDef argument of the SQLDescribeCol function. The GuessTheColDef attribute applies only to columns where there is no Oracle-defined scale such as computed numeric columns and columns that are defined as NUMBER data type without a precision or scale. A call to the SQLDescribeCol function returns 130 for the precision when Oracle does not provide that information.

Note The GuessTheColDef attribute functions the same as the SQLDescribeCol always returns a value for precision option. To turn on this option, click to select SQLDescribeCol always returns a value for precision in the Data Sources dialog box.

