Skip to content

Latest commit

 

History

History
33 lines (27 loc) · 2.47 KB

ole-db-api-support-for-date-and-time-enhancements.md

File metadata and controls

33 lines (27 loc) · 2.47 KB
title description author ms.author ms.date ms.service ms.subservice ms.topic
API support for date and time enhancements (OLE DB driver)
Learn about the OLE DB APIs that support enhanced date/time features, including function names and descriptions.
David-Engel
v-davidengel
06/14/2018
sql
connectivity
reference

OLE DB API Support for Date and Time Enhancements

[!INCLUDE SQL Server]

[!INCLUDEDriver_OLEDB_Download]

The following OLE DB APIs support enhanced date/time features.

Function Description
IAccessor::CreateAccessor A flag is added in the DBBINDING structure to enable applications to discriminate between datetime, datetime2, and smalldatetime values. For more information, see Parameter and Rowset Metadata.
IBCPSession::BCPColFmt For more information, see Bulk Copy Changes for Enhanced Date and Time Types (OLE DB).
ICommandWithParameters::GetParameterInfo For more information, see Parameter and Rowset Metadata.
ICommandWithParameters::SetParameterinfo For more information, see Parameter and Rowset Metadata.
IColumnsRowset::GetColumnsRowset For more information, see Parameter and Rowset Metadata.
IColumnsInfo::GetColumnInfo For more information, see Parameter and Rowset Metadata.
IDBSchemaRowset::GetRowset For details of the affected schema rowsets, see Date and Time and Schema Rowsets.
IRowsetFastLoad This interface supports the new date/time types, but there is no change to its interface.
ITableDefinition::CreateTable For more information, see Data Type Support for OLE DB Date and Time Improvements.

See Also

Date and Time Improvements (OLE DB)