17.07.2015 Views

The Art of SQL Server FILESTREAM - Red Gate Software

The Art of SQL Server FILESTREAM - Red Gate Software

The Art of SQL Server FILESTREAM - Red Gate Software

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 6: <strong>FILESTREAM</strong> with SSIS and SSRSDouble-click the header <strong>of</strong> the Foreach Loop container to open its configuration dialogbox (Figure 6-14). <strong>The</strong>n, in the Collection tab, set the following properties:• Enumerator: Foreach ADO Enumerator• ADO object source variable: User::items• Enumeration Mode: Rows in the first table.Figure 6-14:Configuring the properties <strong>of</strong> the Foreach Loop.This configuration asks the enumerator to loop through all the rows in the first tablecontained in the object variable User::items. We have just configured the Execute <strong>SQL</strong>task to assign the result set returned by the stored procedure into this variable, thereforethe Foreach Loop will iterate over the rows returned by the stored procedure.244

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

Saved successfully!

Ooh no, something went wrong!