Do you have Shyam Pather's book 'Microsoft SQL Server 2005 Notification
Services'?
It has great example projects and source code, etc that demonstrate
different NS principles.
Your problem looks similar to the Subscription by Genre functionality in his
Music Store sample. As songs get added to the Music Store inventory, they
generate distinct events, but the Subscription by Genre rule only generates
one notification per day.
So if you threw a update trigger on your table, you could insert events into
an event view whenever your special field changes, and then have a scheduled
subscription that fires off a single notification per day no matter how many
times the field changed.
[quoted text, click to view] "Andy" <andyj@med-associates.com> wrote in message
news:1175028657.056677.207230@b75g2000hsg.googlegroups.com...
> Hi,
>
> I need to build a notification system that will send notifications
> when a certain field changes in my database. Other data for the row
> may change, and that should not cause a notification to be sent. I'd
> also prefer not to create a column just to track when the field i'm
> interested in changes.
>
> My first though was to use chronicles and to schedule a subscription
> (I only want one notification sent to subscribers a day). Attempting
> this has been rather challenging.
>
> Now I'm considering having immediate notifications and events, and
> simply using a hosted provider that only runs once a day and compares
> the last view to the current value for all rows whose ModifiedDate is
> greater than the last time the provider ran.
>
> I think this will be quite a bit simpler, but I want to make sure I'm
> not violating any basic principles behind NS application design.
>
> Thoughts?
> Thanks
> Andy
>