CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Jul 2003
    Posts
    51

    Stored procedures??

    I have a web based application which uses a database table containing a list of tasks .
    If a particular task is not done in a predetermined timeframe, I need to notify the managers. This notification should be done regardless of anybody being logged in .
    Maybe, I could check the task entries in the table every 10 minutes and notify .
    What is the best way to do this?
    Triggers can only be used during updates, inserts or deletes.
    I think Stored procedures is the other option . Is there any other way this can be done?( for eg. User defined functions??)
    My main issue is carrying out this task at regular intervals .

  2. #2
    Join Date
    Jan 2003
    Location
    North Carolina
    Posts
    309
    What you will want to use is a Job, under SQL Server Agent you can create jobs based on SQL, ActiveScript or Executables to run based on a timeframe then just set to run every 10 minutes or however you want.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured