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: Rowid in before update statement trigger

RE: Rowid in before update statement trigger

From: Naveen Nahata <naveen_nahata_at_mindtree.com>
Date: Tue, 22 Oct 2002 23:13:27 -0800
Message-ID: <F001.004F0A03.20021022231327@fatcity.com>


Its not possible to get the ROWIDs in the before statement trigger. You can only get the ROWIDs in the before/after row triggers. The firing sequence is before statement -> (before row -> after row) for each row -> after statement

What do you want to achieve by getting the ROWIDs in a before statement trigger? Most of the time, a workaround can be found by using before row trigger or some other means

Regards
Naveen

-----Original Message-----
[mailto:PK_Deepa/VGIL_at_vguard.satyam.net.in] Sent: Wednesday, October 23, 2002 11:54 AM To: Multiple recipients of list ORACLE-L

How to identify the rows being updated in a "before update statement trigger", without using row level trigger ?

We tried to use the before update row level trigger to get the rowid of the updated rows .
We observed that the statement level trigger is fired before row level trigger.
As a result , we could not get the rowid of the rows being updated in the before update statement trigger.

Please help us !!!

Thanks
Deepa

--

Please see the official ORACLE-L FAQ: http://www.orafaq.com
--

Author:
  INET: PK_Deepa/VGIL_at_vguard.satyam.net.in

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).
--

Please see the official ORACLE-L FAQ: http://www.orafaq.com
--

Author: Naveen Nahata
  INET: naveen_nahata_at_mindtree.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 Wed Oct 23 2002 - 02:13:27 CDT

Original text of this message

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