How do I make the Database to perform fixed things daily ?

  • Hi,

    Actually I want my database to run certain checks daily in the morning. What feature in SQL Server 2000 will enable me to do that. Are scripts something related to that?

    Please give me a pointer from where i can go ahead.

    Thanks,

    Snigdha

  • U can create Maintenance Plans or create jobs to run pre-written TSQL scripts to do that. Search in BOL for Maintenance Plans

  • Thanks,

    I will look into that and come back if problem persists.

    Snigdha

  • Here's the simplest way to get started and learn...

    In Enterprise Manager, expand until you see Management. Expand that. Click on Jobs.

    Right click on Jobs and select New Job. On the Steps tab, you will create one step for each part of your job. This is where you will write the commands that you want to run. On the Schedule tab is where you will set when the job will run. Fill out all that and you now have a job. Let it run and ensure it works.

    Once you have a working job, right click on the job and select Script Job. That will provide you with the code that creates the job. Now you can write your own without using Enterprise Manager.

    -SQLBill

  • Wowww...

    this was really clear..I got the entire thing. I think it was something like this I was looking for.

    I will implement it right now....

    thanks a looot.

    Snigdha

Viewing 5 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic. Login to reply