~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to docs/variables.rst

  • Committer: Brian Aker
  • Date: 2011-02-12 08:10:17 UTC
  • mto: This revision was merged to the branch mainline in revision 2161.
  • Revision ID: brian@tangent.org-20110212081017-7793i41ybt7gp5ty
More removal of session from includes.

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
 
.. code-block:: mysql
7
 
 
8
 
   SET @variable = "some string";
 
6
SET @variable = "some string";
9
7
 
10
8
Variables are session level only. They can be used in queries. The can be set
11
9
from queries.