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;
两段代码,差了一个分号;
没有分号的是错误的~
maomingchao 2017-05-03 13:34 原文
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;
两段代码,差了一个分号;
没有分号的是错误的~