Declaring variables
am 28.06.2006 22:39:30 von santos24Hi, I cant declare a varible in mySQL 4
i've tried:
declare @id as int
declare @id int
declare id int
any ideas?
thaks
Hi, I cant declare a varible in mySQL 4
i've tried:
declare @id as int
declare @id int
declare id int
any ideas?
thaks
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.