Monitor data changes in SQL Azure

谁说胖子不能爱 提交于 2019-11-27 09:31:51

Sorry but you don't have any options available other than rolling your own notification mechanism. One of the ways you could do this is to create triggers on the table you want to monitor and test for field-level updates, store the event in a secondary table, and code your application to read those events on a specific frequency. The COLUMNS_UPDATED function can help you figure out which fields were changed inside a trigger.

One option that might work for you is to use a cron service like Aditi Scheduler. The way you might achieve this is to have some service URL that when called makes a call to your SQL Azure db to detect if new data is inserted and then send the notification when there is new data. You would then configure the Aditi scheduler to call this service endpoint say every 10 min. The Aditi scheduler would be free (I believe) if you use it to call your service no more frequently than every 10 min.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!