~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to docs/functions/string/length.rst

  • Committer: vjsamuel1990 at gmail
  • Date: 2011-09-15 13:23:48 UTC
  • mto: This revision was merged to the branch mainline in revision 2419.
  • Revision ID: vjsamuel1990@gmail.com-20110915132348-378a34nacx898lx7
Merge fix for bug #850898 and doc style fixes

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
Length and Size Functions
2
2
=========================
3
3
 
4
 
.. _bit-lenght-function:
5
 
 
6
 
BIT_LENGTH
7
 
----------
8
 
The BIT_LENGTH(str) function return the String str length in bits. Here are the some example of the BIT_LENGTH(str) function: 
9
 
For example:
10
 
 
11
 
.. code-block:: mysql
12
 
 
13
 
        SELECT BIT_LENGTH('a');
14
 
 
15
 
Returns 8
16
 
 
17
4
.. _char-length-function:
18
5
 
19
6
CHAR_LENGTH
42
29
 
43
30
.. code-block:: mysql
44
31
 
45
 
        select length(_utf8 '€');
 
32
        select length('€');
46
33
 
47
34
Returns 3
48
35