Datatypes

The Open Data Services ODBC driver uses strings in the resource DLL to provide the results for the SQLGetTypeInfo function. The IDS_DATATYPE_OFFSET strings in LOCAL.RC contain the DBMS-supported datatypes and their various attributes. These strings are also used for certain metadata information that does not vary by column definition, such as an unsigned attribute. For a description of how the Open Data Services ODBC driver uses these values in conjunction with metadata, see Datatype Mapping.

If the first string is empty, the Open Data Services ODBC driver executes the sp_datatype_info procedure to obtain the datatypes supported.