Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2005 Forums
 SQL Server Administration (2005)
 Sending Emails automatically

Author  Topic 

dineshrajan_it
Posting Yak Master

217 Posts

Posted - 2010-04-19 : 02:52:38
hi all,

i need to send a mail to admin when any dml operation fails in sql server 2008. i mean when a insert, updation to table fails. how to acheive it.

Iam a slow walker but i never walk back

Kristen
Test

22859 Posts

Posted - 2010-04-19 : 03:04:54
I don't know the answer to catching such DML errors reliably, but I would question sending an Email as that is not a scalable solution. If there are 1,000 insert failures do Admin want 1,000 emails in their inbox?

Some incentive to not have any errors in their code I suppose
Go to Top of Page
   

- Advertisement -