mysql-主动退出存储过程:LEAVE 发表于 2019-01-17 | 分类于 mysql | 1234567891011create procedure myproc()MAIN_BLOCK: begindeclare v_panic bool default false....if v_panic thenleave MAIN_BLOCK;end if;....end MAIN_BLOCK; 参考链接:How do you exit a procedure 感谢您的支持,予人玫瑰,手有余香 打赏 微信支付 支付宝