Solved

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

Posted on 2010-08-16
4
812 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

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

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

Long way back, we had to take help from third party tools in order to encrypt and decrypt data.  Gradually Microsoft understood the need for this feature and started to implement it by building functionality into SQL Server. Finally, with SQL 2008, …
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.
A short film showing how OnPage and Connectwise integration works.
Delivering innovative fully-managed cloud services for mission-critical applications requires expertise in multiple areas plus vision and commitment. Meet a few of the people behind the quality services of Concerto.

919 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

21 Experts available now in Live!

Get 1:1 Help Now