ORA-01403:no data found 解决方法两则
解决方法一:加一个exception异常处理
exception when no_data_found then
....
解决方法二:更改select语句,如:
select count(*) field into var from table where ....
增加一个count(*)即使没有找到数据,也会返回0,而不是null。
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/14663377/viewspace-1034966/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/14663377/viewspace-1034966/