Dies ist eine alte Version des Dokuments!
Datentyp | Access | MySQL | MaxDB | DB2 | ||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
Typ | Bereich | Speicher | Typ | Bereich | Speicher | Typ | Bereich | Speicher | Typ | Bereich | Speicher | |
Numerische Werte | ||||||||||||
Ganzzahlen | Byte | 0 bis 255 | 1 Byte | TINYINT | 0 bis 255 / -128 bis 127 | 1 Byte | . | . | . | . | . | . |
Integer | – 32.768 bis 32.768 | 2 Byte | SMALLINT | 0 bis 65.535 / -32.768 bis 32.767 | 2 Byte | . | . | . | . | . | . | |
Long | – 2.147.483.648 bis 2.147.483.648 | 4 Byte | MEDIUMINT | 0 bis 16.777.215 / -8.388.608 bis 8.388.607 | 3 Byte | . | . | . | . | . | . | |
INT / INTEGER | 0 bis ~4.3 Mio. / -+ ~2.1 Mio. | 4 Byte | . | . | . | . | . | . | ||||
BIGINT | 0 bis 264-1 / -(263) bis (263)-1 | 8 Byte | . | . | . | . | . | . | ||||
Kommazahlen | Single | 7 Stellen | 4 Byte | FLOAT | -3,40282346638 bis -1,17549435138, 0 und 1,17549435138 bis 3,40282346638 | 4 Byte | . | . | . | . | . | . |
Double | 15 Stellen | 8 Byte | DOUBLE | ~-1,798308 bis ~-2,225-308, 0 und ~2,225-308 bis ~1,798308 | 8 Byte | . | . | . | . | . | . | |
Zeichenwerte | ||||||||||||
String/Zeichen | String | max. 2 Mrd Zeichen | 10 Bytes + Text | . | . | . | . | . | . | . | . | . |
String(Länge) | max. 65k Zeichen | Text | . | . | . | . | . | . | . | . | . | |
Memo | max. 64k Zeichen | Text | . | . | . | . | . | . | . | . | . | |
Sonstige Werte | ||||||||||||
Boolean | Ja/Nein | true/false | 1 Bit | . | . | . | . | . | . | . | . | . |
Datum/Zeit | Date | 01.01.100 bis 31.12.9999 | 8 Byte | . | . | . | . | . | . | . | . | . |