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 2000 Forums
 SQL Server Administration (2000)
 Trigger an automatic Stored Procedure
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Ask SQLTeam Question

0 Posts

Posted - 12/21/2001 :  09:35:21  Show Profile  Visit AskSQLTeam's Homepage  Reply with Quote
Vinod writes "How to trigger a stored procedure at the change of date in the sql server every midnight ??

A procedure needs to check the sql server date and do some operations on the database.

This should happen at 12:00 midnight."

Most Valuable Yak

15729 Posts

Posted - 12/21/2001 :  09:51:20  Show Profile  Visit robvolk's Homepage  Reply with Quote
Refer to Books Online under "jobs". You can create a job that executes your stored procedure, and schedule it to run at midnight, or any other time, at any interval you like.

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.03 seconds. Powered By: Snitz Forums 2000