我有我的存储过程的结构如下:如何获得甲骨文杀死异常
loop
try
update some record to state "1"
make some process
update that record to state "2"
commit
exception
update that record to state "3" //error !
end
end loop
现在让supose有像会议杀,或客户端断开连接错误,而这个循环运行。 我该如何威胁这个错误? try..exception不起作用。我需要将“3”写入我的记录的状态字段。
你不能因为那些“例外”基本上破坏了你的代码正在运行的基础... – Yahia 2013-05-10 16:44:09
这些不是你可以处理的代码错误。 – 2013-05-10 16:45:36
坏消息....... – Beetlejuice 2013-05-10 16:52:36