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: DB Trigger to control PK change

RE: DB Trigger to control PK change

From: <com.banilejas_at_codetel.net.do>
Date: Thu, 04 Apr 2002 05:13:30 -0800
Message-ID: <F001.0043AFD6.20020404051330@fatcity.com>

Thanks to all that reply, I will make a try

Ramon

-----Original Message-----

From:	"root_at_fatcity.com" <root_at_fatcity.com> on behalf of	"John Carlson" <jcarlson_at_CJ.COM>
Sent:	Wednesday, April 03, 2002 8:33 PM
To:	"Multiple recipients of list ORACLE-L" <ORACLE-L_at_fatcity.com>
Subject:	Re: DB Trigger to control PK change

I am trying to do something similar. I want to trap when new tables and procedures are created so I can issue grants and synonyms. I found in the manual triggers at the schema level but I haven't been able to make them work.

>From the manual >>>>>>

CREATE OR REPLACE TRIGGER On_DDL
after DDL
ON XYZ.Schema
BEGIN
.......
<<<<<<<

If anyone has an example of using this type of trigger, I would appreciate some help.

I am using 8.1.6.3 and the above is taken from the 8.1.6 manual.

Thanks,
John

>>> com.banilejas_at_codetel.net.do 04/03/02 01:33PM >>>
Hi List,

I want to create a trigger that insert into a table anytime a user change or compile a package doesn't matter who create it or compile it.

Is there a trigger at DB level, like the on logon, that I can create to keep this kind of control.

I did some FM but couldn't find nothing.

TIA Ramon E. Estevez

--
Please see the official ORACLE-L FAQ: http://www.orafaq.com 
--
Author:
  INET: com.banilejas_at_codetel.net.do 

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
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: John Carlson
  INET: jcarlson_at_CJ.COM

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
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: 
  INET: com.banilejas_at_codetel.net.do

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
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 Apr 04 2002 - 07:13:30 CST

Original text of this message

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