~drizzle-trunk/drizzle/development

1994.4.23 by Marisa Plumb
new data types content
1
String Data Types
1994.4.33 by Marisa Plumb
string data types
2
=================
3
4
The string types in Drizzle are explained in the following groupings:
5
6
VARCHAR and VARBINARY
7
---------------------
8
9
A VARCHAR or VARBINARY type is used to store variable length data. Indexes on these types are by default the full length of the data stored. The only difference between the two types is the COLLATION which is used. VARBINARY uses a binary collation for all index usage.
10
2165.2.1 by Andrew Hutchings
Initial cleanups
11
.. note::
12
13
   ``CHAR`` and ``BINARY`` types are implicitly changed to ``VARCHAR`` and
14
   ``VARBINARY`` respectively.
15
1994.4.33 by Marisa Plumb
string data types
16
TEXT and BLOB
17
-------------
18
19
A TEXT or BLOB type is used to store data which is over XXX in size. Indexes on these types must specify the number of character or bytes which should be used. The only difference between the two types is the COLLATION which is used. A BLOB uses a binary collation for all index usage.
20
21
ENUM
22
----
23
2086.1.3 by Lee Bieber
Merge Stewart - some documentation clean up
24
Enum (enumerated) types are static lists of strings that are defined on table creation. They can be used to represent a collection of string types that are sorted based on the order that they are created.
25
1994.4.121 by Marisa Plumb
string data storage fix
26
27
UTF-8
28
------
29
30
Drizzle stores its string data in an UTF-8 format, and does not support a multitude of language encodings and collations.