SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
Register Now and get your question answered!
Save Password
Forgot your Password?

 All Forums
 SQL Server 2012 Forums
 Transact-SQL (2012)
 Database Trigger
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Yak Posting Veteran

59 Posts

Posted - 02/02/2013 :  06:39:06  Show Profile  Reply with Quote
Is it possible that The SQL SERVER 2008 R2 will AUTOMATICALLY TRIGGER a vb.net 2010 application when ever a record table is updated...

is there any stored procedure for that??

please give me idea... not answers. because asking for answer's is too much...
.. give me hints...

very much appreciate your comment's and suggestions :)

Very Important crosS Applying yaK Herder

52326 Posts

Posted - 02/02/2013 :  08:00:52  Show Profile  Reply with Quote
one thing you can do is add a sql agent job which calls vn application and schedule job to execute based on a regular period. have a control table to indicate whether record is updated. job checks this table and does application call only when control bit is set (record updated)

SQL Server MVP

Go to Top of Page

James K
Flowing Fount of Yak Knowledge

3865 Posts

Posted - 02/02/2013 :  15:58:02  Show Profile  Reply with Quote
The obvious thought that comes to mind when you say "AUTOMATICALLY TRIGGER" is an update trigger on the table. However, I would be very weary about doing that for all kinds of reasons - data integrity, performance etc. So if you don't need "live" updates I would go with a scheduled task as Visakh suggested.
Go to Top of Page

Aged Yak Warrior

940 Posts

Posted - 02/03/2013 :  06:25:53  Show Profile  Reply with Quote
Check out Service Broker.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.11 seconds. Powered By: Snitz Forums 2000