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. 

解决方案 »

  1.   

    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.
      

  2.   

    如果你想用Oracle,连一个错误信息都要这么查可不行,既然你安装过Oracle,它的文档你在光盘上能找到,Oraclexx Error Messages里可以查到,很全的
      

  3.   

    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
      

  4.   

    谢谢各位的回复。
    但是我所想要的回答是如下的情况:
    例外情况名           Oracle错误代码
    NO_DATA_FOUND        ORA-01403
    TOO_MANY_ROWS        ORA-01427
    INVALID_CURSOR       ORA-01001
      

  5.   

    谢谢各位的回复。
    但是我所想要的回答是如下的情况:
    例外情况名           Oracle错误代码
    NO_DATA_FOUND        ORA-01403
    TOO_MANY_ROWS        ORA-01427
    INVALID_CURSOR       ORA-01001
    我所想要的是ORA-00054的这种例外情况名。
    因为这个ORACLE并不是我所安装,手头上没有相应的安装软件,
    购买资料也不方便,所有请教于大家。
    再次感谢大家的热心回复,如果有心请再回复一张帖。
      

  6.   

    你所说的那些例外是ORACLE的标准例外.并非所有ORA-XXXXX错误都对应有一个标准例外,ORA-00054就是这种情况.
      

  7.   

    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;