ora-00054的错误名是什么?

lxc389 2000-03-16 01:33:00
我在程序中想实现几个人现时用到一个表时,其中的一个进入,
其它的人得到一个系统信息,再退出。
但是不知ora-00054的错误名是什么,请问高手。
...全文
363 9 打赏 收藏 转发到动态 举报
写回复
用AI写文章
9 条回复
切换为时间正序
请发表友善的回复…
发表回复
lxc389 2000-03-25
  • 打赏
  • 举报
回复
谢谢大家的回复,现在我已经有了足够的信息来处理这个问题了。
lqiang 2000-03-23
  • 打赏
  • 举报
回复
pzrjl is right,if you using it in develop/2000,you can do as following:

DECLARE
exception_name EXCEPTION;
PRAGMA EXCEPTION_INIT(exception_name, -54);
BEGIN
...
EXCEPTION
WHEN exception_name THEN
-- handle the error
END;
pzrjl 2000-03-21
  • 打赏
  • 举报
回复
你所说的那些例外是ORACLE的标准例外.并非所有ORA-XXXXX错误都对应有一个标准例外,ORA-00054就是这种情况.
lxc389 2000-03-17
  • 打赏
  • 举报
回复
谢谢各位的回复。
但是我所想要的回答是如下的情况:
例外情况名 Oracle错误代码
NO_DATA_FOUND ORA-01403
TOO_MANY_ROWS ORA-01427
INVALID_CURSOR ORA-01001
我所想要的是ORA-00054的这种例外情况名。
因为这个ORACLE并不是我所安装,手头上没有相应的安装软件,
购买资料也不方便,所有请教于大家。
再次感谢大家的热心回复,如果有心请再回复一张帖。
lxc389 2000-03-17
  • 打赏
  • 举报
回复
谢谢各位的回复。
但是我所想要的回答是如下的情况:
例外情况名 Oracle错误代码
NO_DATA_FOUND ORA-01403
TOO_MANY_ROWS ORA-01427
INVALID_CURSOR ORA-01001
chenjp 2000-03-17
  • 打赏
  • 举报
回复
ORA-00054 resource busy and acquire with NOWAIT specified

Cause: The NOWAIT keyword forced a return to the command prompt because a resource was unavailable for a LOCK TABLE or SELECT FOR UPDATE command.
Action: Try the command after a few minutes or enter the command without the NOWAIT keyword.

Copyright (C) 1995, Oracle Corporation
macson 2000-03-16
  • 打赏
  • 举报
回复
pzrjl's answer is right.
You must use the trigger in oracle when
you insert or update the table.
Otherwise the table will be locked when
the customers write the data into the table.
pzrjl 2000-03-16
  • 打赏
  • 举报
回复
ORA-00054 resource busy and acquire with NOWAIT specified

原因: The NOWAIT keyword forced a return to the command prompt because a resource was unavailable for a LOCK TABLE or SELECT FOR UPDATE command.
解决办法:Try the command after a few minutes or enter the command without the NOWAIT keyword.

9Thoughts 2000-03-16
  • 打赏
  • 举报
回复
如果你想用Oracle,连一个错误信息都要这么查可不行,既然你安装过Oracle,它的文档你在光盘上能找到,Oraclexx Error Messages里可以查到,很全的

34,575

社区成员

发帖
与我相关
我的任务
社区描述
MS-SQL Server相关内容讨论专区
社区管理员
  • 基础类社区
  • 二月十六
  • 卖水果的net
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧