简体   繁体   English

SQL数据库中是否有事件接收器

[英]Is there an event receiver in SQL database

Is there an event receiver in SQL database/table, wherein if there is an update to any column in a table, it will trigger an event. SQL数据库/表中是否有事件接收器,其中如果表中的任何列有更新,它将触发一个事件。

For example, I have a page in sharepoint, then everytime the table has been updated, then it will show the details. 例如,我在sharepoint中有一个页面,然后每次表被更新时,它就会显示详细信息。

This is like an event receiver for a sharepoint doclib and list, instead it is in a table. 就像共享点doclib和列表的事件接收器一样,它位于表中。

A. You should not alter SharePoints databases. 答:您不应更改SharePoint数据库。
B. If you want an 'event receiver' for a non-SharePoint database you could look in to sql-triggers. B.如果您想为非SharePoint数据库提供“事件接收器”,则可以查看sql-triggers。 MSDN MSDN

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM