Discussion Locked

Adding a DB record and Emailing notice

0 helpful
3 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
How do I add a record to a database and send an email notice of the transaction. I can do one or the other but haven't figured how to do both and have the action transparant to the user.

3 replies

by mtnsqs

What database are you using.

In Sybase you simply implement an insert trigger for the table (which sensds your email as part fo the insert function).

I know SQL server has a similar thing, but I don't think they call them triggers.

This discussion is closed to new replies.