Article ID: 320435 - View products that this article applies to.
This article was previously published under Q320435
This article describes how the Microsoft .NET Platform OLE DB types map to the Microsoft Access data types for columns.
When you use the Access interface to design a table, you see several choices for field types that do not match to database data types. This is because these "types" are just display formats and do not determine the data type. Access uses other properties that are not necessarily exposed through the Microsoft OLE DB Provider for Jet to determine how to format the data.
Examples of these properties include the following:
List of the Most Common Data Type MappingsThe following table lists the most common data types that are used in Microsoft Access and how these data types relate to the Microsoft .NET Framework data types and to the OleDbType enumeration.
Collapse this tableExpand this table
* This data type is not available in the Access designer user interface. You must create this data type through code.
For more information about data types, visit the following MSDN Web sites:
OLE DB Provider for Microsoft Jet: Data Type Support
OLE DB Provider for Microsoft Jet: Provider-Specific Properties in DBPROPSET_JETOLEDB_COLUMN
Article ID: 320435 - Last Review: February 22, 2007 - Revision: 4.5
Contact us for more help
Connect with Answer Desk for expert help.