Can SQL CLR triggers do this? Or is there a better way?

后端 未结 6 1743
清歌不尽
清歌不尽 2020-12-19 07:39

I want to write a service (probably in c#) that monitors a database table. When a record is inserted into the table I want the service to grab the newly inserted data, and

6条回答
  •  再見小時候
    2020-12-19 08:16

    I have a service that polls the database every minute, it doesn't cause that much performance problems and it is a clean solution. Plus if your service or other wcf endpoint is not there your trigger will fail or be lost and you will have to poll anyways later.

提交回复
热议问题