Navicat 中变量声明提示错误

运行环境为Navicat Query Editor。

sql语句:

 BEGIN
declare @i int
END

错误提示:

 [SQL]BEGIN
declare @i int
END

[Err] 1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'declare @i intEND' at line 2

已尝试其他语句方式:

 BEGIN
declare @i int
END;

BEGIN
declare @i int()
END;

BEGIN
declare @i int();
END;

不用声明,直接使用,set @i = 123;

declare @i int;
少一个分号

好像navicat的这个查询工具就不支持begin end 语句块!无解