DarkSQL by Darkleo.com

Einführung 2

Datentypen in SQL

Datentyp RAM-Bedarf Beschreibung Access Oracle
short
integer
2 Bytes -32.768 bis 32.767 X  
long 4 Bytes -2147.483.648 bis 2147.483.647 X  
NUMBER[p[,s]]   p bis 38 s -84 und 127   X
DATETIME
DATE
8 Bytes 100 bis zum Jahr 9999 X  
DATE 8 Bytes 01.01.4712 v.u.Z. 31.12.4712   X
TEXT
CHAR[]
1 Byte pro
Zeichen
von 0 bis 255
X
X

X
LONGTEXT 1 Byte pro
Zeichen
von 0 bis max 1,2 Gigabytes. X  
LONGBINARY nach Bedarf von 0 bis ca. 1 Gigabytes. X  
         
BYTE 1 Byte von 0 bis 255 X  
SINGLE 4 Bytes ,38 bis ,-45 X  
DOUBLE 8 Bytes ,308 bis ,-324 X