~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to docs/variables.rst

  • Committer: Lee Bieber
  • Date: 2011-02-23 23:31:15 UTC
  • mfrom: (2194.5.7 trunk-bug-723653)
  • mto: This revision was merged to the branch mainline in revision 2197.
  • Revision ID: kalebral@gmail.com-20110223233115-oke1fnvjuu6ujkya
Merge Andrew - 723653: Docs day first pass fixes 

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
 
4
4
Users can create local variables with the following syntax.
5
5
 
6
 
SET @variable = "some string";
 
6
.. code-block:: mysql
 
7
 
 
8
   SET @variable = "some string";
7
9
 
8
10
Variables are session level only. They can be used in queries. The can be set
9
11
from queries.