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.

This brings up the OLE DB Source Editor shown in Figure 18-15. The default option for editing is called<br />

the Connection Manager, but notice that, while there is overlap, there are several differences versus the<br />

dialog that we looked at earlier. If we were using a parameterized query, this would be where we could<br />

edit the properties of those parameters.<br />

Figure 18-15<br />

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

Before we leave the Data Flow section, select the Error Output option for this dialog, as shown in<br />

Figure 18-16. The key thing to draw out of this dialog is that you have different options on how to handle<br />

data flow errors. For this simple wizard-generated data flow item, all errors will be considered fatal for<br />

the package, and the package will close with a fail return to whatever called the flow item. (In this case,<br />

the data flow task in the control flow area, which will in turn pass the failure on and cause the package<br />

to terminate.) Other options would include ignoring the error (and skipping the row) or redirecting the<br />

row (perhaps to a holding table where the row can be manually or programmatically repaired before<br />

reattempting to import). Consider these options as you graduate into more advanced packages.<br />

555

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

Saved successfully!

Ooh no, something went wrong!