~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to docs/numeric_data_types.rst

  • Committer: Lee Bieber
  • Date: 2011-02-24 03:20:47 UTC
  • mfrom: (2196.1.4 build)
  • Revision ID: kalebral@gmail.com-20110224032047-avmw06iwww3m73cw
Merge Andrew - 723653: Docs day first pass fixes 
Merge Brian - Puts back in support for COM_KILL, Also adds back in the INTERACTIVE flag, and creates a DD to track sessions/check on usage
Merge Olaf - Use List::size()

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
Numeric Data Types
2
2
==================
3
3
 
4
 
BIGINT and INTEGER exist as Drizzle's two integer numerical types. BIGINT is a 64-bit integer, while INTEGER is a 32-bit integer.
 
4
``BIGINT`` and ``INTEGER`` exist as Drizzle's two integer numerical types.
 
5
``BIGINT`` is a 64-bit integer, while ``INTEGER`` is a 32-bit integer.
5
6
 
6
 
Drizzle does not support TINYINT, SMALLINT or MEDIUMINT. Integer operations have been optimized around 32- and 64-bit integers.
 
7
:program:`Drizzle` does not support ``TINYINT``, ``SMALLINT`` or ``MEDIUMINT``.
 
8
Integer operations have been optimized around 32- and 64-bit integers.
7
9
 
8
10
+---------+--------------+---------------------+--------------------------------------------+
9
11
|Name     |Storage Size  |Description          |Range                                       |
13
15
|bigint   |8 bytes       |larger-range integer |-9223372036854775808 to 9223372036854775807 |
14
16
+---------+--------------+---------------------+--------------------------------------------+
15
17
 
16
 
AUTO_INCREMENT is supported for INT and BIGINT.
 
18
``AUTO_INCREMENT`` is supported for ``INT`` and ``BIGINT``.
17
19
 
18
 
DOUBLE is the system's native double type. DOUBLE represents double-precision floating-point values that require eight bytes each for   storage.
 
20
``DOUBLE`` is the system's native double type. ``DOUBLE`` represents
 
21
double-precision floating-point values that require eight bytes each for 
 
22
storage.