Forums (RSS 2.0)" href="http://www.simple-talk.com/community/forums/rss.aspx?ForumID=-1&Mode=0" />
Click here to monitor SSC

Using and Monitoring SQL 2005 Query Notification

Last post 03-10-2010, 2:46 PM by billr578. 50 replies.
Page 1 of 4 (51 items)   1 2 3 4 Next >
Sort Posts: Previous Next
  •  08-11-2006, 5:32 AM Post number 71217

    Using and Monitoring SQL 2005 Query Notification

  •  08-14-2006, 9:12 AM Post number 1646 in reply to post number 71217

    Good job!

    I really enjoyed this article.
    Looking for an advanced SQL Server 2005 book?

    Expert SQL Server 2005 Development
  •  08-14-2006, 10:06 AM Post number 1648 in reply to post number 71217

    Great One

    This is some great stuff man
  •  08-14-2006, 10:08 AM Post number 1649 in reply to post number 71217

    Must read for professionals

    A great analysis from a matured head

    Sam Disouza
  •  08-14-2006, 11:28 AM Post number 1652 in reply to post number 71217

    Excellent Job Man !

    Congratulations on having this published. It is a great one !
  •  08-14-2006, 3:16 PM Post number 1654 in reply to post number 71217

    Nice article.

    That's a really useful article, nicely written too.
  •  08-14-2006, 10:52 PM Post number 1658 in reply to post number 71217

    Proud of you,brother!

    This is an article written by a highly intelligent and a mature-headed professional who knows his tools.Very informative and clear piece of art.
  •  08-16-2006, 5:14 PM Post number 1689 in reply to post number 71217

    Great work

    very informative and very intense. keep up the great work dude
  •  08-16-2006, 11:57 PM Post number 1702 in reply to post number 71217

    How about for WinForms?

    SqlCacheDependency is a System.Web class. Can it be used in WinForms without incurring much overhead, or is there a better way to get SQL notifications for WinForms apps?

    Thanks,
    Kevin
  •  08-17-2006, 6:06 AM Post number 1716 in reply to post number 71217

    Great article!

    Excellent one.
  •  08-17-2006, 7:08 PM Post number 1742 in reply to post number 71217

    RE:How about for WinForms?

    Hi Kevin,

    You have two choices:

    a) Use SQLDependency instead of SQLCacheDependency

    b) OR you can get a little more into the specifics and get fine grain control by using SqlNotificationRequest.

    If you have specific questions about them, please let me know and I will be glad to answer.

    Sanchan
  •  08-28-2006, 3:11 AM Post number 1879 in reply to post number 71217

    Its really great

    Its really a great article regarding SQL Server 2005 Query Notification Services.
  •  09-15-2006, 8:18 AM Post number 2066 in reply to post number 71217

    Creating a subscription in TSQL

    Do you know why you cant create a subscription in TSQL. Its only Service Broker under the cover and the reading of the notification queue is possible in TSQL?
  •  09-18-2006, 2:58 PM Post number 2085 in reply to post number 71217

    RE : Creating a subscription in TSQL

    Well, the T-SQL commands (WAITFOR) and the underlying Service Broker infrastructure are necessary but not sufficient conditions for making QN happen.

    Essentially, for the message to be put in the service broker queue for you to read it using T-SQL, you need two things:

    a) You need to tell SQL Server WHAT to monitor. SQL Server doesnt monitor ALL data changes, only the ones for which you request notification. This logic to monitor changes without causing signifcant performance overhead has been abstracted by Microsoft so as not to bother the developers with it.

    b) Once SQL Server notices the change, it needs to put a message in service broker queue, which you can then read using T-SQL.

    All this is transparently managed by exposing the interfaces in .NET (SQLCacheDependency, SQLDependency and SQLNotificationRequest) to the customers.

    Other stuff like - checking for proper permissions, opening a connection to monitor queues etc. is also encapsulated.

    Hope this helps!

    Sanchan
  •  10-05-2006, 11:01 PM Post number 2369 in reply to post number 71217

    Microsoft running a survey on Query Notification

    We are running a survey on Query Notification and would appreciate any feedback.

    http://blogs.msdn.com/sqlblog/archive/2006/09/30/778143.aspx

    Thanks
    Sanchan Sahai Saxena
Page 1 of 4 (51 items)   1 2 3 4 Next >
View as RSS news feed in XML