Reply to Re: Using trigger to notify an assembly of changes.

Your name:

Reply:


Posted by simo on 10/18/06 00:00

> Not a direct reply to your question - but have you looked into using
> Query Notifications rather than using triggers to roll your own
> notification solution? Query Notifications are designed specifically to
> notify front-end applications when the result of a query has changed.
> Note that Query Notifications work only on SQL Server 2005.
>
> Here's a link to the relevant documentation in Books Online:
> ms-help://MS.SQLCC.v9/MS.SQLSVR.v9.en/udb9/html/06b1c6fa-3024-4425-bd99-64b6d3c80267.htm
>
> --
> Hugo Kornelis, SQL Server MVP

Thanks for that Hugo,
The Query Notifications stuff is pretty cool and I have implemented it
and got it working - all very impressive.
I'm actually using it in a service object to check the status of
records in a specific table waiting to be updated by the UI. Where
the guy who has written the Web Front End is polling the database to
find out when my service has updated the status - but the web front end
is consuming about 30% CPU resources and the Query Notification is
using no noticable resources - so he might be doing the same thing
next.

My only problem was that the MS documentation for this was very
detailed about the internals of how all this works, but completely
lacked any useable examples - but we have google and found a few
examples that were quite good.

the best I found was at code magazine by julia lerman.
http://www.code-magazine.com/Article.aspx?quickid=0605061

Cheers

simo

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация