-2
IF region='Mumbai' OR region='Chennai' OR region='Bangalore' OR region='Pune' region='Coimbatore' OR region='Ahmedabad' THEN
SET region='South-west';
ELSE
SET region='North+East';
END IF;
我想创建一个sp,我在上面的Condition中有错误。当我删除上面的条件时,其余的存储过程工作正常。存储过程中的if .... else中的多个条件
我收到错误的多个或条件在if语句。
请大家帮忙。
哦!傻我谢谢你的帮助 –