Beginning Microsoft SQL Server 2008 ... - S3 Tech Training

Beginning Microsoft SQL Server 2008 ... - S3 Tech Training Beginning Microsoft SQL Server 2008 ... - S3 Tech Training

cdn.s3techtraining.com
from cdn.s3techtraining.com More from this publisher
17.06.2013 Views

Chapter 19: Playing Administrator 568 Figure 19-4 Figure 19-5

Let’s go ahead and move on to the Advanced tab for this dialog box, shown in Figure 19-6; it’s here that we really start to see some of the cool functionality that our job scheduler offers. Figure 19-6 Notice several things in this dialog box: ❑ You can automatically set the job to retry at a specific interval if the task fails. ❑ You can choose what to do if the job succeeds or fails. For each result (success or failure), you can: ❑ Quit reporting success ❑ Quit reporting failure ❑ Move on to the next step ❑ You can output results to a file. (This is very nice for auditing.) Chapter 19: Playing Administrator ❑ You can impersonate another user (for rights purposes). Note that you have to have the rights for that user. Since we’re logged in as a sysadmin, we can run the job as the dbo or just about anyone. The average user would probably only have the guest account available (unless they were the dbo) but, hey, in most cases a general user shouldn’t be scheduling their own jobs this way anyway. (Let your client application provide that functionality.) 569

Chapter 19: Playing Administrator<br />

568<br />

Figure 19-4<br />

Figure 19-5

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!