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

Home -> Community -> Usenet -> c.d.o.server -> Re: message from trigger

Re: message from trigger

From: Michel Cadot <micadot_at_netcourrier.com>
Date: Thu, 30 Aug 2001 14:28:11 +0200
Message-ID: <9mlbgs$qgn$1@s1.read.news.oleane.net>

"Krzysztof Ku¶nierz" <kkrzysiek_at_supra.ocm.pl> a écrit dans le message news: 9ml921$nr$1_at_news.tpi.pl...
> Hi there,
>
> I need to pass a message (character string) from trigger (after insert) to
> client application written in OCI.
> I cannot use raise_application_error because it rolls back insert, and I
> want insert to be completed and message given to client.
>
> Thanks for any help,
> Krzysztof

You can use:
- dbms_application_info.set_client_info/get_client_info to record a character string up to 64 characters in v$session view

- or a package variable set in the trigger and read after
- or an application context set in the trigger and read after
- or insert message into a table in the trigger and select it after
...
--
Hope this helps
Michel
Received on Thu Aug 30 2001 - 07:28:11 CDT

Original text of this message

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