
May 15th, 2000, 08:26 AM
|
|
Junior Member
|
|
Join Date: May 2000
Posts: 4
Time spent in forums: < 1 sec
Reputation Power: 0
|
|
|
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
|