如何在SQL Server表中插入特殊值时在C#中运行事件..? [英] How to run an event in C# when a Particular value is inserted in sql server table..?
本文介绍了如何在SQL Server表中插入特殊值时在C#中运行事件..?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我有一个实时应用程序从设备中记录一些值@每秒一次插入的速率。
现在我的问题是,当我在用户界面中插入的值超出范围时,我希望得到通知...
我不知道如何实现这个...
请帮助使用哪种技术...是触发器还是CLR触发器或任何其他方式.... ??
Hi,
I have a live application logging some values from a device @ the rate of one insertion per second.
Now my problem is i want to get notified in my UI when value inserted in table goes out of a range...
I don''t Know how to implement this...
Please help with which technique to use... is it trigger or CLR trigger or any other way....??
推荐答案
我猜想更好地使用SQL触发器。你也可以考虑运行一个sql作业,但可能会更糟。
Better to use SQL trigger I guess. You can also think about run a sql job, but probably it will be worse.
这篇关于如何在SQL Server表中插入特殊值时在C#中运行事件..?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文