SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
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  

AskSQLTeam
Ask SQLTeam Question

USA
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."

robvolk
Most Valuable Yak

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