Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7826011
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T09:14:28+00:00 2026-06-02T09:14:28+00:00

I want to reduce polling in my application solution (many apps, 1 database, some

  • 0

I want to reduce polling in my application solution (many apps, 1 database, some 3rd party), customer wants an up-to-the-second GUI status of whats going on. Is it possible to add an event handler through .NET code to a table or database using SQL Server technologies?

Here are some solutions I’ve come across:

  • SQL Server Service Broker with external activation – only launches new applications, not really an “event handler” kind of scenario
  • CLR stored procedures – limited in functionality, obviously will have same issue getting event to the GUI status screen
  • Go custom – I could do something crazy like having the SQL Server create a file (using XP command shell) in a folder with a trigger when a qualified event occurs, then have a FileSystemWatcher object pick up the file change event and trigger it that way, but that smells bad somehow.
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-02T09:14:29+00:00Added an answer on June 2, 2026 at 9:14 am

    You may want to look at SqlDependency. The only caveat is that, as the docs state,

    SqlDependency was designed to be used in ASP.NET or middle-tier
    services where there is a relatively small number of servers having
    dependencies active against the database. It was not designed for use
    in client applications, where hundreds or thousands of client
    computers would have SqlDependency objects set up for a single
    database server. If you are developing an application where you need
    reliable sub-second notifications when data changes, review the
    sections Planning an Efficient Query Notifications Strategy and
    Alternatives to Query Notifications in the Planning for Notifications
    topic in SQL Server Books Online.

    In general though I find the above statement to be true for most SQL Server client applications, so hopefully this shouldn’t be a problem.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I want to reduce postback in one of my application page and use ajax
I want reduce the size of my application as much as possible using VisualStudio
I want to reduce the size of the Rating bar, I got some style
I want to reduce the ms access database file size after deleting data. I
I am designing an application where I want to reduce the burden on the
i want to reduce the number of times i hit the data base to
I have a scenario where I want to reduce the margin of a Button
I will build a system where I want to reduce single-point-of-failures, and I need
Ruby 1.8.6 I have an array containing numerical values. I want to reduce it
I want to write a map/reduce job to select a number of random samples

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.