Home » RDBMS Server » Server Administration » email trigger
email trigger [message #55628] Wed, 05 February 2003 11:02 Go to next message
victor rodriguez
Messages: 6
Registered: December 2002
Junior Member
Does anybody know of a way to write a trigger in Oracle in order to get notified via email when somebody performs DML on an Oracle table?

Thanks.
Re: email trigger [message #55640 is a reply to message #55628] Thu, 06 February 2003 01:58 Go to previous message
Trifon Anguelov
Messages: 514
Registered: June 2002
Senior Member
You have to write AFTER UPDATE/INSERT/DELETE trigger. Inside the trigger call a PL/SQL stored procedure to e-mail you whatever message you want. Sample code for sending e-mails from PL/SQL could be found Here

Hope that helps,

clio_usa
OCP - DBA

Visit our Web site

Previous Topic: TNS name error
Next Topic: Oracle query
Goto Forum:
  


Current Time: Fri Sep 20 07:26:49 CDT 2024