Você está na página 1de 1

The table below shows the ADO Data Type mapping between Access, SQL Server, and Oracle

DataType Enum Value Access SQLServer Oracle


adBigInt 20 BigInt (SQL Server
2000 +)
adBinary 128 Binary Raw *
TimeStamp
adBoolean 11 YesNo Bit
adChar 129 Char Char
adCurrency 6 Currency Money
SmallMoney
adDate 7 Date DateTime
adDBTimeStamp 135 DateTime (Access 97 DateTime Date
(ODBC)) SmallDateTime
adDecimal 14 Decimal *
adDouble 5 Double Float Float
adGUID 72 ReplicationID UniqueIdentifier
(Access 97 (SQL Server 7.0 +)
(OLEDB)), (Access
2000 (OLEDB))
adIDispatch 9
adInteger 3 AutoNumber Identity (SQL Server Int *
Integer 6.5)
Long Int

adLongVarBinary 205 OLEObject Image Long Raw *


Blob (Oracle 8.1
adLongVarChar 201 Memo (Access 97) Text Long *
Hyperlink (Access Clob (Oracle 8.1
97)
adLongVarWChar 203 Memo (Access 2000 NText (SQL Server NClob (Oracle 8.
(OLEDB)) 7.0 +)
Hyperlink (Access
2000 (OLEDB))
adNumeric 131 Decimal (Access Decimal Decimal
2000 (OLEDB)) Numeric Integer
Number
SmallInt
adSingle 4 Single Real
adSmallInt 2 Integer SmallInt
adUnsignedTinyInt 17 Byte TinyInt
adVarBinary 204 ReplicationID VarBinary
(Access 97)
adVarChar 200 Text (Access 97) VarChar VarChar
adVariant 12 Sql_Variant (SQL VarChar2
Server 2000 +)
adVarWChar 202 Text (Access 2000 NVarChar (SQL NVarChar2
(OLEDB)) Server 7.0 +)
adWChar 130 NChar (SQL Server
7.0 +)

* In Oracle 8.0.x - decimal and int are equal to number and number(10).

Você também pode gostar