SQL Server events

I currently have an app that polls (using a timer with the interval set to 1000) a SQL Server table looking for changes to records.

The problem is that this has a serious impact on the performance of my system.

I was wondering if it was possible to get SQL Server to send notification to my VB application if any of the records change.
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

You could create an SQL trigger, which, in turn notifies your application using some other method...
justinhemphillAuthor Commented:
I'm not sure how to do that.
Create an Extended Store procedure to notify your application and create a trigger to the table you want to monitor.
Determine the Perfect Price for Your IT Services

Do you wonder if your IT business is truly profitable or if you should raise your prices? Learn how to calculate your overhead burden with our free interactive tool and use it to determine the right price for your IT services. Download your free eBook now!

justinhemphillAuthor Commented:
Is it true that you can only create Extended Stored Procedures using c or c++
If you are not familiar with C/C++ you can still write a small application using VB to notify your main application. You can use the TCP/IP control or whatever you like to notify your main application.
And then you create a trigger on the table to execute the Extended Store Procedure XP_CMDSHELL 'your small application'. That is a trick.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Visual Basic Classic

From novice to tech pro — start learning today.