SQL Datatypes in Different RDBMS : Comparison Chart

The following table contains a subset of the more commonly used ANSI SQL data types and the name of the same data type in other RDBMSs such as SQL Server, IBM DB2, and so on

ANSI SQLMS AccessSQL Server 2000IBM DB2MySQLOracle 10
Charactercharcharcharcharchar
Character Varyingvarcharvarcharvarcharvarcharvarchar
National charactervarcharvarcharvarcharvarcharvarchar
National character Varying varchar nvarcharvargraphicvarcharnvarchar
Integernumber (long integer)intintintint
SmallIntnumber (Integer)smallintsmallintsmallintsmallint
Realnumber (Double)realrealrealreal
Decimalnumber (Decimal)decimaldecimaldecimaldecimal
DateDatedatetimedatedatedate
TimeTimedatetimetimetimetime

*This list does not contain all data types