如何知道何时通过服务器向数据库通知添加值? [英] how to know when add value to database notification by server?

查看:69
本文介绍了如何知道何时通过服务器向数据库通知添加值?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

hi
我想知道是否有办法将任何数据添加到数据库中,然后SQL Server向我发送有关添加的数据的事件?
例如,当某个用户向另一个用户发送消息时,接收方必须知道有消息发送给他吗?

在Windows窗体应用程序c#和MS SQL Server中

感谢

hi
I want to know if there is way when any data added to database then SQL Server send me event that about data added?
For example when some user send message to another one the receiver must know that there is message sent to him?

In Windows Forms application c# and MS SQL Server

Thanks

推荐答案

Google的"SQL Server通知服务".
Google for "SQL Server Notification Services".


可以使用 ^ ]和那里-[使用SQL服务器通知服务] [
have a Go there-[Using Notification Services in SQL Server 2005][^] and there-[Using SQL server Notification Services][^] to learn how to use Notification services in SQL server.


这篇关于如何知道何时通过服务器向数据库通知添加值?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆