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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Chapter 6: <strong>FILESTREAM</strong> with SSIS and SSRSFigure 6-20:Selecting the itemID variable.Click OK to save the changes. On the parent dialog box, click the Edit Script button. Thiswill open the C# code editor in a new Visual Studio window.Writing the <strong>FILESTREAM</strong> processing code<strong>The</strong> next step is to write the code needed to perform the <strong>FILESTREAM</strong> operations. This isthe most important part <strong>of</strong> this lab. We will modify the template code given by the Scripttask to suit our requirements.To start with, we need to add a few additional namespace declarations to the existingnamespace declarations, as shown in Listing 6-9.249

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

Saved successfully!

Ooh no, something went wrong!