SQL Dialects Reference/Data structure definition/Data types/Misc types
From Wikibooks, open books for an open world
[edit] 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 | Oracle | PostgreSQL | SQLite | Virtuoso |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ? | Boolean | ? | N/A | N/A | ? | BOOLEAN | BIT | TINYINT(1) | No | BOOLEAN | ? | BIT |
| ? | Boolean storage size | ? | ? | ? | ? | ? | 8 columns in a single table = 1 byte | 1 byte | N/A | 1 byte | ? | ? |
| ? | UUID | ? | N/A | ? | ? | ? | uniqueidentifier | ? | ? | N/A | ? | IRI |
| ? | Row version | ? | ? | ? | ? | ? | TIMESTAMP ROWVERSION |
? | ? | ? | ? | ? |
| ? | Any data type | ? | ? | ? | ? | ? | SQL_VARIANT | ? | ANYTYPE ANYDATA ANYDATASET |
? | ? | ? |