Return-Path: <ml-errors@fatcity.com>
Received: from ensim.rackshack.net (root@localhost)
 by orafaq.net (8.11.6/8.11.6) with ESMTP id h6UJbat17575
 for <oracle-l@orafaq.net>; Wed, 30 Jul 2003 14:37:36 -0500
X-ClientAddr: 66.27.56.213
Received: from www2.fatcity.com (rrcs-west-66-27-56-213.biz.rr.com [66.27.56.213])
 by ensim.rackshack.net (8.11.6/8.11.6) with ESMTP id h6UJbLp17540
 for <oracle-l@orafaq.net>; Wed, 30 Jul 2003 14:37:33 -0500
Received: (from root@localhost)
 by www2.fatcity.com (8.11.6/8.11.6) id h6UHGsP10163
 for oracle-l@orafaq.net; Wed, 30 Jul 2003 10:16:54 -0700
Received: by fatcity.com (05-Jun-2003/v1.0g-b73/bab) via fatcity.com id 005C7DDC; Wed, 30 Jul 2003 10:09:33 -0800
Message-ID: <F001.005C7DDC.20030730100933@fatcity.com>
Date: Wed, 30 Jul 2003 10:09:33 -0800
To: Multiple recipients of list ORACLE-L <ORACLE-L@fatcity.com>
X-Comment: Oracle RDBMS Community Forum
X-Sender: Mladen Gogala <mgogala@adelphia.net>
Sender: ml-errors@fatcity.com
Reply-To: ORACLE-L@fatcity.com
Errors-To: ML-ERRORS@fatcity.com
From: Mladen Gogala <mgogala@adelphia.net>
Subject: Re: ** table triggers
Organization: Fat City Network Services, San Diego, California
X-ListServer: v1.0g, build 73; ListGuru (c) 1996-2003 Bruce A. Bergman
Precedence: bulk
Mime-Version: 1.0
Content-Type: text/plain; format=flowed; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

You can't. An update statement is what fires the trigger. Trigger cannot
see where does the statement come from. May be you should rethink the overall
design of the application?

On 2003.07.30 13:59, A Joshi wrote:
> Hi,
>   I have a two tables A and B. Both have a field expected_delay_now and when
> it gets updated by a user in either table I want update it in corresponding
> row in the other table. However when this update is as a result of a trigger
> (and not user updated) how do I skip the update thru the trigger??? Thanks
> 
> 
> 
> 
> ---------------------------------
> Do you Yahoo!?
> Yahoo! SiteBuilder - Free, easy-to-use web site design software

-- 
Mladen Gogala
Oracle DBA
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: Mladen Gogala
  INET: mgogala@adelphia.net

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

