2

I need to be able to run maintenance scripts against my SQL server to expire records and generally clean up the database. Is this best accomplished with some sort of trigger or something within the database itself? I'd like to run the script daily if possible. How can I do this, exactly. I have a feeling it is pretty easy.

0

1 Answer 1

2

You'll want to create a SQL Server job.

5
  • I do not have a "SQL Server Agent" node in my Object Explorer tree.
    – Jordan
    Jun 2, 2011 at 14:13
  • You probably have the Express version of Management Studio.
    – daemon_x
    Jun 2, 2011 at 14:16
  • On this site should be some free tool for this (SQL Scheduler), but the site seems dead.
    – daemon_x
    Jun 2, 2011 at 14:28
  • @daemon_x, I do not.
    – Jordan
    Jun 2, 2011 at 15:14
  • it came down to an issue of rights. My DB Admin has the server locked down. I have to ask for permission to do anything. I thought it might still show up, but I guess not.
    – Jordan
    Jun 2, 2011 at 15:16

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .