SQL Dialects Reference/Data structure definition/Data types/Misc types

Misc types

This page includes comparison tables which can be big and complex.

While it's perfectly all right to view them in their complete state, it is recommended to install a comparison tables extension that would allow to select particular columns of interest for comparison.

SQL version Feature Standard DB2 Firebird Ingres Linter MSSQL MySQL MonetDB Oracle PostgreSQL SQLite Virtuoso
 ? Boolean  ? N/A N/A  ? BOOLEAN BIT TINYINT(1) BOOLEAN No BOOLEAN  ? BIT
 ? Boolean storage size  ?  ?  ?  ?  ? 8 columns in a single table = 1 byte 1 byte 1 byte N/A 1 byte  ?  ?
 ? UUID  ? N/A  ?  ?  ? uniqueidentifier  ? N/A  ? UUID  ? IRI
 ? Row version  ?  ?  ?  ?  ? TIMESTAMP
ROWVERSION
 ?  ?  ?  ?  ?  ?
 ? Any data type  ?  ?  ?  ?  ? SQL_VARIANT  ?  ? ANYTYPE
ANYDATA
ANYDATASET
 ?  ?  ?
Last modified on 20 May 2013, at 08:39