DBAsupport.com Forums - Powered by vBulletin
Results 1 to 6 of 6

Thread: Where Oracle Errors are Stored ?

  1. #1
    Join Date
    Dec 2001
    Posts
    221

    Where Oracle Errors are Stored ?

    Where the Oracle Errors are stored ? any object from which i can get information of each and every oracle error. Or it is stored in some other format or external file. DBA_ERRORS only stores the current errors for any objects. but i want to get all the oracle error list.

    Any idea.
    Santosh Jadhav
    8i OCP DBA

  2. #2
    Join Date
    Nov 2002
    Location
    New Delhi, INDIA
    Posts
    1,796
    In ORCALE_HOME serach for *.msg files and look into them.
    Amar
    "There is a difference between knowing the path and walking the path."

    Amar's Blog  Get Firefox!

  3. #3
    Join Date
    Nov 2002
    Location
    Geneva Switzerland
    Posts
    3,142
    . . . or try someting like:
    Code:
    DECLARE
        errno_v NUMBER;
        msg_v   VARCHAR2(200);
    BEGIN
    FOR errno in 1000..1100 LOOP
        errno_v := errno * -1;
        msg_v := sqlerrm(errno_v) ;
        dbms_output.put_line(msg_v) ;
    END LOOP;
    END;
    /
    I'll leave you to experiment . . . .

  4. #4
    Join Date
    Dec 2001
    Posts
    221
    But how this errors are read in Oracle. I mean is there any background process which reads and displays proper message at proper time. At the time of Database Creation we get the ORA error , at the time of DML, DDL, TCL commands we get the ORA error. How this activity is done. Is it a job of Server process ?
    Santosh Jadhav
    8i OCP DBA

  5. #5
    Join Date
    Jul 2001
    Location
    Slovenia
    Posts
    422
    I believe that it is not for us to know, it is not open source project.
    I guess there is a module that do it and gets invoked from all over the code when needed.
    Tomaž
    "A common mistake that people make when trying to design something completely
    foolproof is to underestimate the ingenuity of complete fools" - Douglas Adams

  6. #6
    Join Date
    Dec 2002
    Location
    Bangalore ( India )
    Posts
    2,434
    Originally posted by TomazZ
    I guess there is a module that do it and gets invoked from all over the code when needed.
    PL/SQL Engine for sequential/procedural execution

    SQL Executor for SQL statement execution.

    When exceptiion, i belive it will call appropirate Proc/function which will return the error number/error mesage
    funky...

    "I Dont Want To Follow A Path, I would Rather Go Where There Is No Path And Leave A Trail."

    "Ego is the worst thing many have, try to overcome it & you will be the best, if not good, person on this earth"

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Click Here to Expand Forum to Full Width