Please start any new threads on our new site at We've got lots of great SQL Server experts to answer whatever question you can come up with.

Our new SQL Server Forums are live! Come on over! We've restricted the ability to create new threads on these forums.

SQL Server Forums
Profile | Active Topics | Members | Search | Forum FAQ
Save Password
Forgot your Password?

 All Forums
 SQL Server 2000 Forums
 SQL Server Administration (2000)
 Trigger an automatic Stored Procedure
 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

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