存储过程的调试?
编写存储过程时,一旦出错,往往不知什么原因,哪怕是一个小错误,
系统没有任何提示,
请问,有没有一个好的开发环境,来编写oracle存储过程?
1 可以用plsql developer开发工具,或者sqlstation 第三方产品。
2 可以捕捉任何错误 exception when others
insert into table_name(time,errorcode,errormsg);
将错误信息记录到一个表里面。
3 在开发时可以用show error 提示信息来定位错误。