Monitor data changes in SQL Azure

前端 未结 2 1715
既然无缘
既然无缘 2020-12-02 00:43

Is there a way to to get notifications when SQL Azure data changes or when new data is inserted? I would like to send notifications to an ASP.NET web application and push no

2条回答
  •  误落风尘
    2020-12-02 01:25

    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.

提交回复
热议问题