Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ORACLE 9i error codes

Status
Not open for further replies.

cDevX99

Programmer
Aug 29, 2001
39
US
Does anyone know the meaning of an error 1242, or 204. More importantly, is there a command ( either sqlplus or cmd line ) to describe an error based on it's number.
 
I know how to do it in 8.1.7. See if 9i has an oerr binary.

AIX6/home/oracle8i>oerr ora 1242
01242, 00000, "data file suffered media failure: database in NOARCHIVELOG mode"
// *Cause: The database is in NOARCHIVELOG mode and a database file was
// detected as inaccessible due to media failure.
// *Action: Restore accessibility to the file mentioned in the error stack
// and restart the instance.
 
You may read Oracle manuals or use sqlerrm() function (don't forget about set serverout on):


exec dbms_output.put_line(sqlerrm(-1242))
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top