oracle 存储过程异常处理:EXCEPTION
when others then
ROLLBACK;
result_flag := '-1';
result_message := sqlerrm;怎么把它 改成mysql的?????
when others then
ROLLBACK;
result_flag := '-1';
result_message := sqlerrm;怎么把它 改成mysql的?????
可以参考一下这个:MySQL定义异常和异常处理方法http://www.2cto.com/database/201410/341132.html