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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Trigger Error

Status
Not open for further replies.

amolso

Programmer
Sep 8, 2000
71
IN
When I write triggers on any tables,
Every Trigger Gives me the following error

ORA-20000: SALEis not a valid room
ORA-06512: at "SCOTT.TRG1", line 7
ORA-04088: error during execution of trigger 'SCOTT.TRG1'

Out of above ORA-20000 is written by me in the trigger
definition.
The trigger is getting created without errors

Can you please explain me why above 2 errors
comes each and every time I try to use any entry
violating the conditions
Thanking you in Advance
amol [sig][/sig]
 
Hi amolso,

Could you post your trigger code please? (if it's not *too* long that is <smile>) [sig]<p>Mike<br><a href=mailto:michael.j.lacey@ntlworld.com>michael.j.lacey@ntlworld.com</a><br><a href= Cargill's Corporate Web Site</a><br> [/sig]
 
The two additional errors are generic messages that Oracle issues to give further information over and above the specific error. ORA-06512 is issued each time an error occurs within a SQL block and tells you where the error occurred, ORA-04088 is similar but specific to triggers. [sig][/sig]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top