~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to docs/variables.rst

  • Committer: patrick crews
  • Date: 2011-03-15 12:12:09 UTC
  • mfrom: (1099.4.216 drizzle)
  • Revision ID: gleebix@gmail.com-20110315121209-8g2tkf31w0rx9ter
Tags: 2011.03.12
Updated translations

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.