Solved

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

Posted on 2010-08-16
4
950 Views
Last Modified: 2012-05-10
What's difference between Maintenance Plans and SQL Jobs in MS SQL 2005?
0
Comment
Question by:SAM2009
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Enroll in July's Course of the Month

July's Course of the Month is now available! Enroll to learn HTML5 and prepare for certification. It's free for Premium Members, Team Accounts, and Qualified Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

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 I will describe the Backup & Restore method as one possible migration process and I will add the extra tasks needed for an upgrade when and where is applied so it will cover all.
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…

623 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