all groups > sql server notification services > january 2006 >
You're in the

sql server notification services

group:

Is this the right place?


Is this the right place? Robby Tanner
1/26/2006 4:03:40 PM
sql server notification services:
Hello,

We are developing an application that requires some form of asynchronous
callback to attached clients. Ideally, these events are user definable
(well sysadmin definable) on the server and clients register interest in
them when they connect.

When such an event happens (table update, insert, etc) the server notifies
the clients.

Are notification services the way to go or is there another solution. From
what I've read, the notification services are more for signalling users, not
applications.

Rob



Re: Is this the right place? Joe Webb
1/27/2006 5:23:39 AM
From the way you've described, I think Notification Services could do
exactly what you're tasked with accomplishing. The big question is: is
it the best tool? With SQLNS, you'd need to create a custom delivey
channel to communicate with your attached clients.

Are you using SQL Server 2000 or 2005? If the latter, you may also
want to check out SqlDependency and Query Notifications
(http://msdn2.microsoft.com/en-us/library/ms179575.aspx) as another
possibility.

--
Joe Webb
SQL Server MVP
http://www.sqlns.com


~~~
Get up to speed quickly with SQLNS
http://www.amazon.com/exec/obidos/tg/detail/-/0972688811

I support PASS, the Professional Association for SQL Server.
(www.sqlpass.org)


On Thu, 26 Jan 2006 16:03:40 -0600, "Robby Tanner"
[quoted text, click to view]
Re: Is this the right place? Robby Tanner
1/27/2006 10:02:05 AM

[quoted text, click to view]

Is it? If not, what other mechanisms are available to signal client apps of
sundry DB goings-on?


[quoted text, click to view]

I have no idea what that means. Where would I learn more?

[quoted text, click to view]

SQL Server 2005

Regards,
Rob

Re: Is this the right place? Joe Webb
1/27/2006 8:56:22 PM
Hi Robby -

[quoted text, click to view]
Given the 5 sentence description in your original post - as good as
they are - I wouldn't hazard a recommendation; it's just not enough
info. However, from the sounds of it I suspect that SQL Dependency may
be a better option for you.

[quoted text, click to view]
ms-help://MS.SQLCC.v9/MS.SQLSVR.v9.en/sqlntsv9/html/01fb3263-0876-4058-b7c1-2aa24ba39e7d.htm
Additionally Shyam Pather's bood has a section on it if memory serves
me (I don't have it in front of me at the moment). It's written for
v2.0, but many of the same concepts should apply.


[quoted text, click to view]
Then SQLDependency is an option for you.

HTH...

--
Joe Webb
SQL Server MVP
http://www.sqlns.com


~~~
Get up to speed quickly with SQLNS
http://www.amazon.com/exec/obidos/tg/detail/-/0972688811

I support PASS, the Professional Association for SQL Server.
(www.sqlpass.org)


On Fri, 27 Jan 2006 10:02:05 -0600, "Robby Tanner"
[quoted text, click to view]
AddThis Social Bookmark Button