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

2003-07-11 Thread Jared Still
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 [EMAIL PROTECTED] cc: Subject:cannot disable or drop the ON DATABASE trigger Help list

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

2003-07-06 Thread rahul
: 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 CREATE OR ALTER OR DROP ON DATABASE BEGIN null; END; / and now i

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

2003-07-06 Thread rahul
: 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 CREATE OR ALTER OR DROP ON DATABASE BEGIN null; END; / and now i

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

2003-07-06 Thread Rachel Carmichael
by: [EMAIL PROTECTED] 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

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

2003-07-06 Thread Robert Eskridge
[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 CREATE OR ALTER OR DROP ON DATABASE BEGIN

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

2003-07-05 Thread Jared Still
: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 CREATE OR ALTER OR DROP ON DATABASE BEGIN null; END; / and now i cannot drop or disable this trigger

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

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

2003-07-04 Thread Mladen Gogala
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 CREATE OR ALTER OR DROP ON DATABASE BEGIN

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

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 =

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

2003-07-03 Thread Jared . Still
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 CREATE OR ALTER OR DROP ON DATABASE

Re: Database trigger to record user log

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

Database trigger to record user log

2002-10-17 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_columns

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 in these triggers. The column names

Re: Database trigger to record user log

2002-10-17 Thread Ruth Gramolini
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_columns view. When

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 database trigger to maintain the log history of transaction tables

Re: Database trigger to record user log

2002-10-17 Thread Chaim . Katz
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 transaction tables (Not the Oracle

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
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 also. 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 is not

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

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 ofstoringinto the log tablethe actual update command that was issued againt the table. Ex: I have a database trigger that fires when

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

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 :

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

2001-06-05 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: 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

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.

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

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