Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> Exception from Trigger through procedure

Exception from Trigger through procedure

From: jeb - Foto <jeb_at_fayettevillenc.com>
Date: 1998/11/23
Message-ID: <3659D49D.203574B7@fayettevillenc.com>#1/1

Here is the situation:
I have a program (Powerbuilder 6) which calls a procedure within Oracle. The procedure changes a value in a table which has a trigger which raises an exception when a certian value is wrong. When updating the table through SQL*Plus no problem whe exception is raised and the appropriate message is returned. However when the procedure updataes the table the exception (from the trigger) is lost because of the scope of the exception in the trigger.

Does anyone know any way to get the trigger exception, passed back through the procedure and into the program where it can be displayed for the user.

Any thoughts appreciated.

Thanks JB
jeb_at_fayettevillenc.com Received on Mon Nov 23 1998 - 00:00:00 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US