2425.2.1
by Daniel Nichter
Rewrite Configuration docs. |
1 |
.. _user_defined_variables: |
2 |
||
3 |
User Defined Variables
|
|
1933.1.9
by Brian Aker
Additional documentation and testing. |
4 |
======================
|
5 |
||
6 |
Users can create local variables with the following syntax. |
|
7 |
||
1878.5.6
by Brian Aker
A couple of fixes to documentation. |
8 |
.. code-block:: mysql |
2194.5.3
by Andrew Hutchings
Markup fixes |
9 |
|
10 |
SET @variable = "some string"; |
|
11 |
||
1994.5.2
by Stewart Smith
add a bit of a note on how variables docs should be expanded |
12 |
Variables are session level only. They can be used in queries. The can be set |
13 |
from queries. |
|
14 |