|
Posted by Bill Karwin on June 28, 2006, 5:02 pm
Please log in for more thread options
santos24@gmail.com wrote:
> Hi, I cant declare a varible in mySQL 4
> i've tried:
>
> declare @id as int
> declare @id int
> declare id int
>
> any ideas?
DECLARE only works in stored routines, which is a feature introduced in
MySQL 5.
Regards,
Bill K.
|