if 0 =resultValue then
set @m = 2;
else
set @m =1;
end if
if 0 =resultValue then
set @m = 2;
else
set @m =1;
end if;
两段代码,差了一个分号;
没有分号的是错误的~
if 0 =resultValue then
set @m = 2;
else
set @m =1;
end if
if 0 =resultValue then
set @m = 2;
else
set @m =1;
end if;
两段代码,差了一个分号;
没有分号的是错误的~
转载于:https://www.cnblogs.com/maomingchao/p/6801503.html