在oracle中捕获异常,通过//sql执行exceptionwhen others then dbms_output.putline('exception');其中others表示捕获未命名的异常。而其他异常包括access_into_null 未定义对象 case_not_found case中若未包含相应的when,并且没有设置 collection_is_null 集合元素未初始化 curser_already_open 游标已经打开 dup_val_...