Solved

What's difference between Maintenance Plans and SQL Jobs in MS SQL 2005?

Posted on 2010-08-16
4
784 Views
Last Modified: 2012-05-10
What's difference between Maintenance Plans and SQL Jobs in MS SQL 2005?
0
Comment
Question by:SAM2009
  • 2
  • 2
4 Comments
 
LVL 58

Accepted Solution

by:
cyberkiwi earned 250 total points
ID: 33451492
A maintenance plan is a preset series of steps that you can perform against a database, collectively considered as "maintenance" tasks.  You can pick and choose to build up a plan.

A SQL Job is a collection of tasks that you schedule to run at a particular time using SQL Server Agent.

In the UI for setting up maintenance tasks, it hooks into the SQL Job ui for you to schedule the maintenance plan.   However, going into SSMS, Jobs directly, you can set up any type of job, even just running a stored procedure regularly.
0
 
LVL 1

Author Comment

by:SAM2009
ID: 33451506
Thanks.

Does maintenanance can run without planning a job?
0
 
LVL 58

Assisted Solution

by:cyberkiwi
cyberkiwi earned 250 total points
ID: 33451518
No. The job is what schedules it.  Otherwise it does nothing.
If you expand jobs, you will see a job with a strange name representing the maintenance plan.
0
 
LVL 1

Author Closing Comment

by:SAM2009
ID: 33451596
Ok I see. Thank you very much for the SQL 101 lesson :)
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Data architecture is an important aspect in Software as a Service (SaaS) delivery model. This article is a study on the database of a single-tenant application that could be extended to support multiple tenants. The application is web-based develope…
In this article we will get to know that how can we recover deleted data if it happens accidently. We really can recover deleted rows if we know the time when data is deleted by using the transaction log.
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

708 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now