~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to docs/variables.rst

  • Committer: Olaf van der Spek
  • Date: 2011-10-24 21:23:54 UTC
  • mto: This revision was merged to the branch mainline in revision 2449.
  • Revision ID: olafvdspek@gmail.com-20111024212354-j32gbc2sbsw0985q
Use str_ref

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";
 
9
 
 
10
Variables are session level only. They can be used in queries. The can be set
 
11
from queries.