14 The SQL Server Legacy Wire Protocol Driver : Data Types

Data Types
Table 14-3 shows how the Microsoft SQL Server data types are mapped to the standard ODBC data types. “Unicode Support” lists Microsoft SQL Server to Unicode data type mappings.

1
Bigint supported on Windows driver only.

2
Supported only on Microsoft SQL Server 2008 and higher.

3
Datetimeoffset mapping changes based on the setting of the Fetch TSWTZ as Timestamp option.

4
Time mapping changes based on the setting of the Fetch TWFS as Time option.

5
Supported only on Microsoft SQL Server 2005 and higher.

See “Retrieving Data Type Information” for information about retrieving data types.