可以用异常处理来捕获
begin
select * from table1 where name='zhang' for update nowait
exception
when others then
……异常处理
end;
begin
select * from table1 where name='zhang' for update nowait
exception
when others then
……异常处理
end;
解决方案 »
- Oracle 11g R2安装时自建数据库的语言设置(https://localhost:1158/em)
- 在cmd中怎样导入dmp文件
- 启动失败,ORA-01122: 数据库文件 2 验证失败_急,请高手
- oracle等这些大型数据库,对表的插入删除等操作,还需要加锁处理吗?
- 关于存储过程的编译问题
- oracle一大堆的配置文件为什么不用XML呢?
- 怎样生成这样一张表?
- 为什么我的存储过程不能执行?
- PLSQL Developer怎么用?有教程吗?谢谢
- Oracle需求,需要各位大神开导
- 急急急!Oracle8.16+Win2000系统,安装后一切正常,重启机后出现ORA-01034错误,大侠帮忙!
- 关于Listener.ora的问题
select * from table1 where name='zhang' for update nowaitafter that,If User B issue
update table1 .......Then An oracle exception "ORA-00054: resource busy and acquire with NOWAIT specified " will triggered