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.
| Author |
Topic |
|
doran_doran
Posting Yak Master
179 Posts |
Posted - 2009-12-22 : 10:57:37
|
| How to make the insert on the row occur even if the trigger fails.Trigger works however I am using sp_send_dbmail and keep getting denied on the service account I am using. I would like the triggers to continue to insert even if the other pieces fails in the triggers (like send email, or the other db is not available, or permission issue). |
|
|
tkizer
Almighty SQL Goddess
38200 Posts |
|
|
doran_doran
Posting Yak Master
179 Posts |
Posted - 2009-12-22 : 12:37:56
|
| triggers are transaction by itself so adding tran and commit will not help. any other thought.Also, I am sending data to another database. I would like trigger to continue even if the remote server is not responding. a separate log is being maintained for that. |
 |
|
|
tkizer
Almighty SQL Goddess
38200 Posts |
|
|
|
|
|