PL/SQL (MOSC)

MOSC Banner

Reporting error from a trigger

edited May 9, 2012 5:56AM in PL/SQL (MOSC) 6 commentsAnswered
My apologies if I have this posted under the wrong community.  I wasn't quite sure which one to pick..
I have a trigger on the order lines table conditioned on a status change.  When the condition is met, I call a function which does some additional processing.  In this processing, I have a need to report a error back to the user if multiple matches are found in a select.

My question is:  Is it possible to generate an error from a trigger which could be reported back to the user on the screen?  I am a Oracle novice so I'm not sure exactly how triggers function in respect to interacting with a program such as Order Maintenance.

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center