17.06.2013 Views

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

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

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

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Chapter 18: Getting Integrated with Integration Services<br />

Connection Managers<br />

This is a bit of misnomer. This isn’t so much a list of connection managers as it is a list of connections. By<br />

taking a look at the Description column, you’ll see many of the key properties for each connection your<br />

package uses. Notice that in our example package, we have two connections, and if you look closely, you’ll<br />

see how one relates to file information (for our connection to the flat file we’re using) and there is another<br />

that specifically relates to <strong>SQL</strong> <strong>Server</strong> (the export source connection).<br />

Execution Options<br />

Do not underestimate the importance of this one. Not only does it allow you to specify how, at a high<br />

level, you want things to happen if something goes wrong (if there’s an error), but it also allows you to<br />

establish checkpoint tracking — making it easy to see when and where your package is getting to different<br />

execution points. This can be critical in performance tuning and debugging.<br />

Reporting<br />

This one is all about letting you know what is happening. You can set up for feedback: exactly how much<br />

feedback is based on which events you decide to track and the level of information you establish.<br />

Logging<br />

This one is fairly complex to set up and get going, but has a very high “coolness” factor in terms of giving<br />

you a very flexible architecture of tracking even the most complex of packages.<br />

Using this area, you can configure your package to write log information to a number of preconfigured<br />

“providers” (essentially, well understood destinations for your log data). In addition to the preinstalled<br />

providers such as text files and even a <strong>SQL</strong> <strong>Server</strong> table, you can even create your own custom providers<br />

(not for the faint of heart). You can log at the package level, or you can get very detailed levels of granularity<br />

and write to different locations for different tasks within your package.<br />

Set Values<br />

This establishes the starting value of any run-time properties your package uses. (There are none in our<br />

simple package.)<br />

Verification<br />

Totally different packages can have the same file name (just be in a different spot in the file system, for<br />

example). In addition, packages have the ability to retain different versions of themselves within the<br />

same file or package store. The Verification dialog is all about filtering or verifying what package/version<br />

you want to execute.<br />

Command Line<br />

560<br />

You can execute SSIS packages from the command line (handy when, for example, you’re trying to run<br />

DTS packages out of a batch file). This option within the SSIS Package Execution Utility is about specifying<br />

parameters you would have used if you had run the package from the command line.<br />

The utility will establish most of this for you; the option here is just to allow you to perform something<br />

of an override on the options used when you tell the utility to execute.

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

Saved successfully!

Ooh no, something went wrong!