|
SQL Server Home
SQL Server TutorialAbout SQL ServerEnterprise Manager Create a Database Create a Table Adding Data Query Analyzer Views Stored Procedures SQL Server Security Create a Login DTS (Data Transformation Services) SQL Server Agent SQL Server Agent Jobs SQL Server Service Manager SQL Profiler SQL Server Summary Got a MySpace Page?Get "www.yourname.com" for your MySpace page. Learn how >>. |
SQL Server Agent JobsNow that you know that the SQL Server Agent Service is responsible for ensuring any scheduled jobs are run at the specified time, let's create a SQL Server Agent Job. Creating a SQL Server Agent Job
Your SQL Agent Job has now been set up and is ready to run every morning at 2am, but don't forget to check that the SQL Server Agent Service is running!. Modifying your SQL Agent JobYou can view your SQL Agent Job under the "Jobs" node. If you need to modify your SQL Agent Job, you can do so by right clicking on the job, then selecting "Properties". You can also run your job (by selecting "Start Job"), view its history, disable it, and more.
Is the SQL Server Agent Running?By looking at the screen shot above, I can tell that the SQL Server Agent Service is not running. The icon is what gives it away. Here's what the icon should look like:
The reason I'm re-iterating this is because I have been caught out so many times with this. It's so easy to create a SQL job that its so easy to forget to check whether the SQL Server Agent is even running. Normally, in a production environment, the SQL Server Agent will be running constantly. In a development environment, you may choose to disable it until you need to test it. Enjoy this website?
Oh, and thank you for supporting Quackit! |
FREE Hosting!With every domain name you register with ZappyHost, you get FREE (ad supported) hosting.PLUS you get:
Featured Template:
(Build your websites in minutes!) |