-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語句。
請大家幫忙。
哦!傻我謝謝你的幫助 –