Benutzer-Werkzeuge

Webseiten-Werkzeuge


computer:tutorials:sql:datentypen

Dies ist eine alte Version des Dokuments!


A PCRE internal error occured. This might be caused by a faulty plugin

^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 2<sup>64-1</sup> / -(2<sup>63</sup>) bis (2<sup>63</sup>)-1|8 Byte|.|.|.|.|.|.| |Kommazahlen|''Single''|7 Stellen|4 Byte|''FLOAT''|-3,402823466<sup>38</sup> bis -1,175494351<sup>38</sup>, 0 und 1,175494351<sup>38</sup> bis 3,402823466<sup>38</sup>|4 Byte|.|.|.|.|.|.| |:::|''Double''|15 Stellen|8 Byte|''DOUBLE''|~-1,798<sup>308</sup> bis ~-2,225<sup>-308</sup>, 0 und ~2,225<sup>-308</sup> bis ~1,798<sup>308</sup>|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|.|.|.|.|.|.|.|.|.|

computer/tutorials/sql/datentypen.1299056325.txt.gz · Zuletzt geändert: 2011/03/02 09:58 von christian