~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to docs/variables.rst

  • Committer: Lee Bieber
  • Date: 2011-03-29 22:31:41 UTC
  • mfrom: (2257.1.3 build)
  • Revision ID: kalebral@gmail.com-20110329223141-yxc22h3l2he58sk0
Merge Andrew - 743842: Build failure using GCC 4.6
Merge Stewart - 738022: CachedDirectory silently fails to add entries if stat() fails
Merge Olaf - Common fwd: add copyright, add more declaration

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.