when others then后面的rollback换成输出错误信息

解决方案 »

  1.   

    我把后面改成了: exception
      when others then
       dbms_output.put_line('ft,Fail!!!');
         rollback;可是没有输出任何东西,执行也不报错
    但是还是没有新增==============SQL>  exec stp_inquire_user_information;PL/SQL 过程已成功完成。SQL> select * from inquire_answer;未选定行
      

  2.   

    set serveroutput on了吗?
      

  3.   

    exception
      when others then
        dbms_output.put_line(sqlerrm(sqlcode));
      

  4.   

    ORA-01422: 实际返回的行数超出请求的行数什么意思?
      

  5.   

    select name into v_DEPARTMENT_NAME from department where id = v_row.DEPARTMENT;
    这句的结果是否不是一个