oracle中关于no_data_found异常的解决
在存储过程中,select name into v_name from table where 条件? 的时候,如果没有查询到数据,就不能将v_name进行赋值,就会抛出no_data_found异常,程序不能继续执行解决:select count(*) into v_count from from table where 条件 ; if(v_count<>0) then select name into v_name from table where 条件; end if;?
?
?
?
我的异常网推荐解决方案:oracle存储过程,http://www.myexception.cn/oracle-develop/177537.html