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

Home -> Community -> Mailing Lists -> Oracle-L -> RE: Trigger Question

RE: Trigger Question

From: Wolfgang Breitling <breitliw_at_centrexcc.com>
Date: Thu, 08 Jan 2004 12:19:26 -0800
Message-ID: <F001.005DC2C3.20040108121926@fatcity.com>


Of course. Silly me.

At 12:54 PM 1/8/2004, you wrote:
>Wolfgang,
>
> Yes you may, within the trigger only, change values of that row
> only. it's known as
>
> :new.<column_name> := <whatever>;
>
> >If so is it ok to call a package in the trigger that selects that row and
> >changes some values in the row?
>
>a) it is not so and
>b) you can not do anything with that row (or that table for that matter) in
>either the trigger or any called package or procedure. You'll get a
>"mutating table" error.
>
>--
>Author: Goulet, Dick
> INET: DGoulet_at_vicr.com
>
>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: ListGuru_at_fatcity.com (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).

Wolfgang Breitling
Oracle7, 8, 8i, 9i OCP DBA
Centrex Consulting Corporation
http://www.centrexcc.com

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: Wolfgang Breitling
  INET: breitliw_at_centrexcc.com

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: ListGuru_at_fatcity.com (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).
Received on Thu Jan 08 2004 - 14:19:26 CST

Original text of this message

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