|
|
|
Old Hand
      
Group: General Forum Members
Last Login: Thursday, July 19, 2012 12:50 PM
Points: 385,
Visits: 170
|
|
Hopefully no one is "running" their database maintenance with these jobs on SQL 2005 and 2008 Express . This question smelled tricky from inception, and I am a little disappointed in myself for falling in the trap.
Not much learned here, but at least I refreshed my knowledge of SQL Server 2000 - SQL Server Agent.
|
|
|
|
|
SSCrazy
      
Group: General Forum Members
Last Login: Thursday, April 05, 2012 2:35 PM
Points: 2,007,
Visits: 767
|
|
I had to laugh at the LOLCats spelling of Enterprise as Enterprize! Too bad the question wasn't written in LOLCats as well... "I can haz SQL j0bz in which edishunz?"
|
|
|
|
|
SSC Eights!
      
Group: General Forum Members
Last Login: 2 days ago @ 4:41 AM
Points: 909,
Visits: 596
|
|
kevin.l.williams (11/27/2009) I don't think I learned anything useful by getting this question wrong. Who cares if you can create a job in express if it can't be used?
It wouldn't be difficult to write a stored proc to run at startup and thereafter every minute, which kicks the jobs off when scheduled...
|
|
|
|
|
SSC Eights!
      
Group: General Forum Members
Last Login: 2 days ago @ 4:41 AM
Points: 909,
Visits: 596
|
|
david.wright-948385 (11/30/2009)
kevin.l.williams (11/27/2009) I don't think I learned anything useful by getting this question wrong. Who cares if you can create a job in express if it can't be used?It wouldn't be difficult to write a stored proc to run at startup and thereafter every minute, which kicks the jobs off when scheduled...
Could even add "catch-up" logic to run jobs missed while the instance was down
|
|
|
|
|
SSCrazy
      
Group: General Forum Members
Last Login: 2 days ago @ 9:42 AM
Points: 2,891,
Visits: 5,858
|
|
I would imagine you could even conceive of creating these jobs and then kicking them off on a schedule based on Reporting Services Scheduled Reports, or using the windows task scheduler and an OSQL command or a variety of other resources.
There are a variety of frameworks and applications on codeplex and CodeProject amoung others to get around these same issues...
This is just the first one from Google... http://www.codeproject.com/KB/database/SQLAgent.aspx
To help us help you read this
For better help with performance problems please read this
|
|
|
|
|
SSCrazy
      
Group: General Forum Members
Last Login: Yesterday @ 3:52 PM
Points: 2,549,
Visits: 17,363
|
|
Crud, I missed it. This is good to know if you have automated maintenance or admin scripts though. I guess if your scripts set up jobs on new servers, the scripts will run successfully on express, but the jobs will never start... and you'll never know that the instance isn't configured like you thought.
Chad
|
|
|
|
|
Forum Newbie
      
Group: General Forum Members
Last Login: Wednesday, January 23, 2013 10:10 AM
Points: 2,
Visits: 101
|
|
(deleted post about "Enterprize" haha-how-funny-but-made-me-answer-wrong and going back to work instead of playing guessing games )
However I want to mention that I prefer to use *.SQL scripts with sqlcmd.exe in Windows Scheduled Tasks to do regular maintenance work and Backups instead of SQL Agent Jobs... They are independent of SQL Editions and can be maintained without the sluggish Management Studio... And last but not least they are much easier to deploy on multiple servers without the hassle of dealing with "Maintenance Plan" SSIS Packages and the related issues
|
|
|
|
|
SSCertifiable
       
Group: General Forum Members
Last Login: Yesterday @ 3:07 PM
Points: 7,096,
Visits: 7,156
|
|
In SQL Server 2008, SSMSE does not support scheduling administrative tasks by using SQL Server Agent (http://msdn.microsoft.com/en-us/library/ms365247.aspx). So in effect there is no support for jobs - they can't be scheduled to run, although obviously you can create jobs using the MSDB stored procs. In SQL Server 2005 Express Edition, jobs can be created using the MSDB stored procs just as in SQL Server 2008 Express Edition, and they can't be scheduled to run. The support for jobs is exactly as extensive or restrictive in 2008 express as it is in 2005 express, so why does the answer claim you can create them in one but not in the other? The URL given as explanation is completely useless, it doesn't refer to jobs at all. Also, it doesn't say anything at all about SQL Server 2008, althoough the question (and the answer) both explicitly refer to 2008 as well as to 2005 and the answer makes a claim about them being different in respect to jobs in express edition. The question and answer are thoroughly misleading, and the reference given for the explanation is completely irrelevant. This doesn't help anyone learn anything, and may even mislead someone into using the wrong edition of SQL Server 2008. As an earlier commenter said, this sort of thing brings QOTD into disrepute.
Tom Que conclure à la fin de tous mes longs propos? C'est que les préjugés sont la raison des sots. (Voltaire, 1756)
|
|
|
|