~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to docs/columntypes.rst

  • Committer: Lee Bieber
  • Date: 2011-01-08 03:39:25 UTC
  • mfrom: (2062.1.2 build)
  • Revision ID: kalebral@gmail.com-20110108033925-koobar399kwrm4ba
Merge Brian - parser clean up
Merge Marisa - latest doc updates, fix sphinx warnings

Show diffs side-by-side

added added

removed removed

Lines of Context:
10
10
The only difference between the two types is the COLLATION which is
11
11
used. VARBINARY uses a binary collation for all index usage.
12
12
 
13
 
VARCHAR Range: 1 to 255 Characters.
14
 
 
15
 
VARBINARY Range: 1 to 255 Bytes.
16
 
 
17
 
----
18
 
CHAR
19
 
----
20
 
 
21
 
CHAR data type maps to a VARCHAR. CHAR will convert to a VARCHAR automatically. 
22
 
 
23
13
-------------
24
14
TEXT and BLOB
25
15
-------------
29
19
be used. The only difference between the two types is the COLLATION which is
30
20
used. A BLOB usees a binary collation for all index usage.
31
21
 
32
 
TEXT Range: 1 to 4,294,967,295 Charcters.
33
 
 
34
 
BLOB Range: 1 to 4,294,967,295 Bytes. 
35
 
 
36
 
 
37
22
---------
38
23
NUMERICAL
39
24
---------
40
25
 
41
 
BIGINT and INTEGER exist as Drizzle's two integer numerical types. BIGINT is a  64bit integer while INTEGER is a 32bit integer.
42
 
 
43
 
AUTO_INCREMENT is supported for INT and BIGINT.
44
 
 
45
 
INT Range: -2,147,483,647 to 2,147,483,647.
 
26
BIGINT and INTEGER exist as Drizzle's two integer numerical types. BIGINT is
 
27
a 64bit integer while INTEGER is a 32bit integer.
46
28
 
47
29
DOUBLE is the systems native double type.
48
30
 
52
34
TEMPORAL
53
35
--------
54
36
 
55
 
DATETIME (Date and Time Value, 64 bit)
56
 
 
57
 
TIMESTAMP (Date and Time Value, 64bit)
58
 
 
59
 
DATE (Date without time)
 
37
DATETIME
 
38
 
 
39
TIMESTAMP
 
40
 
 
41
DATE
60
42
 
61
43
----
62
44
ENUM