John,
How about:
CREATE OR REPLACE TRIGGER On_DDL
after CREATE
ON <your.schema>
BEGIN
.....
HTH
Mark
===================================================
Mark Leith | T: +44 (0)1905 330 281
Sales & Marketing | F: +44 (0)870 127 5283
Cool Tools UK Ltd | E: [EMAIL PROTECTED]
===================================================
http://www.cool-tools.co.uk
Maximising throughput & performance
-----Original Message-----
Carlson
Sent: 04 April 2002 01:33
To: Multiple recipients of list ORACLE-L
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
>>> [EMAIL PROTECTED] 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: [EMAIL PROTECTED]
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: [EMAIL PROTECTED] (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: [EMAIL PROTECTED]
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: [EMAIL PROTECTED] (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: Mark Leith
INET: [EMAIL PROTECTED]
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: [EMAIL PROTECTED] (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).