Hey I was wondering how I could set up a clean up task on a particular table to delete contents thats lets say a week old.
I am using SQL Server 2005
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.
In SQL Server Management Studio, expand the SQL Server Agent, right click on “Jobs” and select “New Job…”
in “Steps”, create a “New…” one and enter this:
or without regards to time use:
in “Schedule”, you can make it run every Sunday or whatever you need.