I have quite a bit of experience with sql but I am just starting to learn about jobs. I have created several test jobs but unfortunately they never work when I schedule them. Here are the details:
1. I am working on my own computer with a database that I created. Permissions should be no problem.
2. I am using SQL Server 2008. I have already created a db with a table. In my job, I will insert one record into this table. So the sql will be easy.
3. In Management Studio, I go to the "SQL Server Agent" node.
4. SQL Server Agent *is* running.
5. I right-click the jobs folder and choose "new job".
6. In the general tab I choose a name for the job.
7. On the steps tab, I add a step, input sql for that step, and save the step.
8. On the schedule tab I schedule it to run one time in the near future.
9. I click "okay" to finish creating the new job.
10. I wait until the appropriate time but the job does not execute.
Here's the kicker...if I right-click the job and run it manually it works. But a job you cannot schedule is really pointless. What am I overlooking???
1. I am working on my own computer with a database that I created. Permissions should be no problem.
2. I am using SQL Server 2008. I have already created a db with a table. In my job, I will insert one record into this table. So the sql will be easy.
3. In Management Studio, I go to the "SQL Server Agent" node.
4. SQL Server Agent *is* running.
5. I right-click the jobs folder and choose "new job".
6. In the general tab I choose a name for the job.
7. On the steps tab, I add a step, input sql for that step, and save the step.
8. On the schedule tab I schedule it to run one time in the near future.
9. I click "okay" to finish creating the new job.
10. I wait until the appropriate time but the job does not execute.
Here's the kicker...if I right-click the job and run it manually it works. But a job you cannot schedule is really pointless. What am I overlooking???