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 SSRSFor the sake <strong>of</strong> simplicity, we'll rename the connection NorthPole, so right-click onthe Connection object and select Rename, or simply select the object and press F2(Figure 6-7).Figure 6-7:Renaming the connection object.Adding an Execute <strong>SQL</strong> task<strong>The</strong> next step is to add an Execute <strong>SQL</strong> task. You can find it in the toolbox under ControlFlow Items; drag and drop it onto the Package Designer window (Figure 6-8).Figure 6-8:Adding the Execute <strong>SQL</strong> task.Now we'll configure the Execute <strong>SQL</strong> task to retrieve the item information. First, we'lluse the stored procedure to retrieve the ItemID from the Items table. We only need theItemID column because the information retrieved at this stage is used only for iterating239

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

Saved successfully!

Ooh no, something went wrong!