> When an AFTER INSERT trigger is fired (row level) has the row been committed
> to the database at this stage?
No
> If so is it ok to call a package in the trigger that selects that row and
> changes some values in the row?
No
See the following snippet from the fine SQL manual.
Jared
PS. Your email had a virus attached to it.
AFTER
Specify AFTER to cause Oracle to fire the trigger after executing the
triggering event. For row triggers, the trigger is fired after each
affected row is changed.
Restrictions on AFTER Triggers
* You cannot specify an AFTER trigger on a view or an object view.
* You cannot write either the :OLD or the :NEW value.
On Thu, 2004-01-08 at 11:24, Nuala Cullen wrote:
>
> Hi All,
>
> Firstly my apologies if this seems like a very *stupid* question but I'm a
> tad confused (and it's late in the evening)
>
> When an AFTER INSERT trigger is fired (row level) has the row been committed
> to the database at this stage?
>
> If so is it ok to call a package in the trigger that selects that row and
> changes some values in the row?
>
> Thanks,
>
> N.
>
--
Please see the official ORACLE-L FAQ: http://www.orafaq.net
--
Author: Jared Still
INET: [EMAIL PROTECTED]
Fat City Network Services -- 858-538-5051 http://www.fatcity.com
San Diego, California -- Mailing list and web hosting services
---------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from). You may
also send the HELP command for other information (like subscribing).