Mapping Data Types
- Last Updated: May 12, 2026
- 1 minute read
- OpenAccess SDK
- Version 8.1
- Documentation
See Data Types Supported for information on the way the underlying data provider’s data types map to the standard OLE DB data types. IColumns::GetColumnInfo and ICommandWithParameters::GetParameterInfo are used to report OLE DB data types.
Note: Always use four-digit years for conversions from variant types to date/time types. Using two-digit years is not supported and will result in undefined behavior.