OLE DB API Support for Date/Time Enhancements
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/Time Types (OLE DB and ODBC). |
ICommandWithParameters::GetParameterInfo |
For more information, seeParameter and Rowset Metadata. |
ICommandWithParameters::SetParameterinfo |
For more information, seeParameter and Rowset Metadata. |
IColumnsRowset::GetColumnsRowset |
For more information, seeParameter and Rowset Metadata. |
IColumnsInfo::GetColumnInfo |
For more information, seeParameter and Rowset Metadata. |
IDBSchemaRowset::GetRowset |
For details of the affected schema rowsets, seeDate/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/Time Improvements. |