Do to some constraints with a client’s system and setup, I am wondering if it is possible for SQL Server to fire off a web request?
I need to be able to send emails after a sql server column gets updated. I had a trigger with database mail but the database server on the client won’t allow that. The alternative would have that figure fire off a web request when ready. I would do it via a web service on the web server and have it just poll the table, but that seems like a lot of wasteful cycles.
Any ideas?
You can execute managed code from SQL server. Create a windows service and let that do whatever you want in C# to fulful your need and SQL server call it.
Checkout this link for sample program