I have a .sql script file that I want to run once every 24 hours. What are the best (and easiest) steps to produce a scheduled task in SQL Server 2008 to do this?
Thanks.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You could use the SQL Server Agent (if you are not using the Express version of SQL Server). In Management Studio, expand the SQL Server Agent node, right-click on Jobs and click New Job…
From there you will be able to schedule all kinds of jobs, including running a script every 24 hours.