Re: Database events - notify an application
From: Mike Hildner (mhildner_at_afweb.com)
Date: 03/11/04
- Next message: Pedro Semedo: "Re: Error on query"
- Previous message: Louis Davidson: "Re: Dynamic check constraint"
- In reply to: lindawie: "Re: Database events - notify an application"
- Next in thread: Mike Hildner: "Re: Database events - notify an application"
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 11 Mar 2004 09:31:24 -0700
Linda,
Thanks for the information. I thought the only way to do something "outside"
of sql server was an extended stored procedure. Much appreciated.
Mike
"lindawie" <lindawie@my-deja.com> wrote in message
news:eiw1YuxBEHA.3524@TK2MSFTNGP10.phx.gbl...
> Mike,
>
> > I have an application that polls the db every few seconds to
> > refresh the data. Would like to change so that the db sends a
> > message to my app when something interesting happens
> > (insert/update etc.).
> >
> > I've looked into sp_addmessage, raiseevent etc, but it seems
> > limited to pager, email and net send. I don't think I want to do
> > net send as it may be disabled and don't want to trap all net
> > send messages on the client.
> >
> > So I was thinking of writing and extended sp that, say, would
> > send a message via udp, this xp would get called via triggers.
> >
> > Am I on the right track, or are their smarter ways to do this?
> > sql server 2000.
>
>
> You could look at Notification Services:
>
> http://www.microsoft.com/sql/ns/default.asp
>
> Or you could write a simple console application that notifies your
> application when something interesting happens. Create a SQL Server
> Agent job to run the notifier. Execute sp_start_job in your triggers
> to run the notifier asynchronously so it will not impact your
> database transaction.
>
> Linda
>
- Next message: Pedro Semedo: "Re: Error on query"
- Previous message: Louis Davidson: "Re: Dynamic check constraint"
- In reply to: lindawie: "Re: Database events - notify an application"
- Next in thread: Mike Hildner: "Re: Database events - notify an application"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|