Re: [PMX:##] Re: cannot disable or drop the ON DATABASE trigger !

2003-07-11 Thread Jared Still
t; > > > > > > > "rahul sharma" <[EMAIL PROTECTED]> > > Sent by: [EMAIL PROTECTED] > > 07/03/2003 03:40 AM > > Please respond to ORACLE-L > > > > > > To: Multiple recipients of list ORACLE-L > > &l

Re[2]: (solved?) cannot disable or drop the ON DATABASE trigger !

2003-07-06 Thread Robert Eskridge
nal Message- >> > > > Sent: Thursday, July 03, 2003 1:39 PM >> > > > To: Multiple recipients of list ORACLE-L >> > > > >> > > > >> > > > >> > > > At first glance it appears that you have created a self

Re: (solved?) cannot disable or drop the ON DATABASE trigger !

2003-07-06 Thread Rachel Carmichael
recipients of list ORACLE-L > > > > > > > > > > > > > > > > At first glance it appears that you have created a self > referencing > > > > trigger. > > > > > > > > You can't drop it, because dropping

(solved?) cannot disable or drop the ON DATABASE trigger !

2003-07-06 Thread rahul
it appears that you have created a self referencing > > > trigger. > > > > > > You can't drop it, because dropping it fires the trigger. > > > > > > Check metalink, open a TAR, etc. > > > > > > Jared > > > > > > &g

(solved?) cannot disable or drop the ON DATABASE trigger !

2003-07-06 Thread rahul
it appears that you have created a self referencing > > > trigger. > > > > > > You can't drop it, because dropping it fires the trigger. > > > > > > Check metalink, open a TAR, etc. > > > > > > Jared > > > > > > &g

Re: [PMX:##] Re: cannot disable or drop the ON DATABASE trigger !

2003-07-05 Thread Jared Still
etalink, open a TAR, etc. > > > > Jared > > > > > > > > > > > > "rahul sharma" <[EMAIL PROTECTED]> > > Sent by: [EMAIL PROTECTED] > > 07/03/2003 03:40 AM > > Please respond to ORACLE-L > > > > > >

Re: [PMX:##] Re: cannot disable or drop the ON DATABASE trigger !

2003-07-04 Thread Mladen Gogala
TECTED] 07/03/2003 03:40 AM Please respond to ORACLE-L To: Multiple recipients of list ORACLE-L <[EMAIL PROTECTED]> cc: Subject:cannot disable or drop the ON DATABASE trigger Help list... i have created the following in 8.1.5 instance CREATE OR REPLACE

RE: [PMX:##] Re: cannot disable or drop the ON DATABASE trigger !

2003-07-04 Thread Jamadagni, Rajendra
Title: RE: [PMX:##] Re: cannot disable or drop the ON DATABASE trigger This will teach you that you should be _very_ careful when dealing with sys schema. what's that parameter to disable sys triggers ?? 1. Call OWS 2. If this is production DB, keep your resume ready.

Re: cannot disable or drop the ON DATABASE trigger !!!!

2003-07-03 Thread Jared . Still
e respond to ORACLE-L To: Multiple recipients of list ORACLE-L <[EMAIL PROTECTED]> cc: Subject:cannot disable or drop the ON DATABASE trigger Help list... i have created the following in 8.1.5 instance CREATE OR REPLACE TRIGGER DDL_TRIGGER BEFORE

Re: cannot disable or drop the ON DATABASE trigger !!!!

2003-07-03 Thread Jose Luis Delgado
Are you sure that you created the trigger on sys schema? with the sys user? I got something similar when, by mistake, I created a logon trigger on another schema... with another username I whould check: > select owner, object_name, object_type, status > from dba_objects > where object_name = 'DDL

cannot disable or drop the ON DATABASE trigger !!!!

2003-07-03 Thread rahul sharma
Help list... i have created the following in 8.1.5 instance CREATE OR REPLACE TRIGGER DDL_TRIGGER BEFORE CREATE OR ALTER OR DROP ON DATABASE BEGIN null; END; / and now i cannot drop or disable this trigger ERROR at line 1: ORA-04045: errors during recompilation/revalidation of SYS.

Re: Database trigger to record user log

2002-10-19 Thread PK_Deepa/VGIL
To: Multiple recipients of list ORACLE-L | | <[EMAIL PROTECTED]> | | cc: (bcc: PK Deepa/VGIL) | | Subject: Re: Database trigger to record user

Re: Database trigger to record user log

2002-10-17 Thread Chaim . Katz
e changed, new tables could be added, views could be included, all without worrying about the trx logging portion. BTH don't forget a unique identifier to the original row in your update log. Good luck, Chaim Hi , We want to create a database trigger to maintain the log history of t

RE: Database trigger to record user log

2002-10-17 Thread Naveen Nahata
, and one to capture the after image? Ruth - Original Message - To: "Multiple recipients of list ORACLE-L" <[EMAIL PROTECTED]> Sent: Thursday, October 17, 2002 4:38 AM > [EMAIL PROTECTED] wrote: > > > > Hi , > > > > We want to create a

Re: Database trigger to record user log

2002-10-17 Thread Ruth Gramolini
ECTED] wrote: > > > > Hi , > > > > We want to create a database trigger to maintain the log history of > > transaction tables (Not the Oracle Archive Log). > > > > Our requirement is to create a common Oracle database trigger. Only the > > table name wil

Re: Database trigger to record user log

2002-10-17 Thread Stephane Faroult
[EMAIL PROTECTED] wrote: > > Hi , > > We want to create a database trigger to maintain the log history of > transaction tables (Not the Oracle Archive Log). > > Our requirement is to create a common Oracle database trigger. Only the > table name will be different

Database trigger to record user log

2002-10-16 Thread PK_Deepa/VGIL
Hi , We want to create a database trigger to maintain the log history of transaction tables (Not the Oracle Archive Log). Our requirement is to create a common Oracle database trigger. Only the table name will be different in these triggers. The column names can be taken from "all_tab_co

Re: Database Trigger not fireing In Delete Mode

2002-10-11 Thread Chaim . Katz
Naba, I think you need something like this CREATE OR REPLACE TRIGGER triggername AFTER INSERT OR UPDATE OR DELETE ON tablename FOR EACH ROW WHEN (NVL(new.fldname1,old.fldname1)is not null and NVL(new.fldname2,old.fldname2)is not null) DECLARE BEGIN processing goes here END; hth, Chaim

RE: Database Trigger not fireing In Delete Mode

2002-10-11 Thread Jamadagni, Rajendra
riday, October 11, 2002 12:13 AMTo: Multiple recipients of list ORACLE-LSubject: Database Trigger not fireing In Delete Mode Hi all,   I have  row level table trigger  to fire on DELETE or INSERT or UPDATE Mode . It has to fire on certain condition, meaning I have a WHEN condition

Database Trigger not fireing In Delete Mode

2002-10-10 Thread N J Neog
Title: RE: Avoding Mutation of Table trigger Hi all,   I have  row level table trigger  to fire on DELETE or INSERT or UPDATE Mode . It has to fire on certain condition, meaning I have a WHEN condition also.   WHEN Condition is like :    when ( NEW.CR_ACCOUNT is not null and   NEW.CHQ_DT

RE: Executing a Unix command from database trigger

2002-09-17 Thread Thomas, Kevin
Check some back emails, I've posted a solution to running Unix commands from pl/sql procedures a number of times. Cheers, Kev. "my computer beat me at chess but i won when it came to kick boxing." __ Kevin Thomas Technical Analyst Deregulation Services Calanais Ltd. (2nd Floor E

database trigger

2002-05-01 Thread Ravindra B
I want to write a database trigger that will insert a new record into a log table whenever there is an update action on a particular table.Is there a way of storing into the log table the actual update command that was issued againt the table.   Ex: I have a database trigger that fires

RE: update database trigger

2001-12-12 Thread Ganesh Raja
The Where Clause Gives the rows... create or replace trigger trg_on_T1 before update on T1 for each row begin if updating then update T2 set a=:new.a, b=:new.b, c=:new.c Where a=:old.a and b=:old.b and c=:old.c; end if; end trg_on_T1; HTH Best Regards, Ganesh R Tel : +97

update database trigger

2001-12-12 Thread Tatireddy, Shrinivas (MED, Keane)
Hi lists, DB:Oracle 8i I need to write a db trigger on table T1. It has to update T2 when ever T1 is updated. (Both T1 and T2 tables have identical structure.) The following query is doing wrong update. can anybody tell me what is wrong in this code: create or replace trigger trg_on_T1 before

RE: How to notify the firing a database trigger to the java appli

2001-06-05 Thread Jamadagni, Rajendra
Openworld 2000 had a paper on using dbms_alerts to notify java client. In the trigger you could raise a dbms_alert and capture that in your java application. HTH Raj __ Rajendra Jamadagni MIS, ESPN Inc. Rajendra dot Jamadagni at ESP

How to notify the firing a database trigger to the java application

2001-06-04 Thread Ranganath K
Dear DBA Gurus, I have written an after update database trigger on a particular table. The trigger gets fired and does what I want. However I want to know as to how do I notify my java application that the trigger has fired? Anybody can let me know about this? Any help in this regard

Re: Database Trigger Confusion

2001-05-25 Thread Jared Still
On Thursday 24 May 2001 10:51, Yexley Robert D SSgt AFIT/SCA wrote: > CREATE OR REPLACE TRIGGER endb.budget_total_amt_hist_trg > BEFORE UPDATE of total_amt_auth, expiration on endb.budget ^ Time to Read the Fine Manual.

RE: Database Trigger Confusion

2001-05-24 Thread Jamadagni, Rajendra
Brian is right, why not compare old and new values and handle this programmatically? HTH Raj __ Rajendra Jamadagni MIS, ESPN Inc. Rajendra dot Jamadagni at ESPN dot com Any opinion expressed here is personal and doesn't reflect tha

Re: Database Trigger Confusion

2001-05-24 Thread Chaim . Katz
I think your trigger is fine; the problem might be that some front-end tools (forms by default?) generate an UPDATE statement that affects all the columns of the table - even if only a one field was changed. Think of it this way, UPDATE table SET col1=col1 doesn't change any values but it does

Database Trigger Confusion

2001-05-24 Thread Yexley Robert D SSgt AFIT/SCA
I have created a trigger on a table to write information to a history table, and I've run into some behavior that's confusing me...some clarification would be greatly appreciated. My trigger code is as follows: CREATE OR REPLACE TRIGGER endb.budget_total_amt_hist_trg BEFORE UPDATE of tot