Solved

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

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

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

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

Introduction: When running hybrid database environments, you often need to query some data from a remote db of any type, while being connected to your MS SQL Server database. Problems start when you try to combine that with some "user input" pass…
If you have heard of RFC822 date formats, they can be quite a challenge in SQL Server. RFC822 is an Internet standard format for email message headers, including all dates within those headers. The RFC822 protocols are available in detail at:   ht…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

739 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