Hi !

Does anybody know from what version the MySQL supports user variables? I can't find it in the manual. Or what's wrong with this example:

mysql> select @t1:=1;
ERROR 1064: You have an error in your SQL syntax near '@t1:=1' at line 1
mysql> select version();
+-----------+
| version() |
+-----------+
| 3.22.32 |
+-----------+
1 row in set (0.00 sec)

Thanks,
Peter