-
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
-
In ORCALE_HOME serach for *.msg files and look into them.
Amar
"There is a difference between knowing the path and walking the path."
-
. . . 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 . . . .
-
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
-
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
-
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|