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.

Creating the stored procedure to fetch item information___________________ 194Adding a new web form and data grid__________________________________196Adding a data source________________________________________________196Lab 8: Using SqlFileStream in an N-Tier Scenario_________________________ 204Creating the Visual Studio solution and projects__________________________205Writing the domain object code_______________________________________207Writing the data access code__________________________________________207Creating an HTTP handler to serve images_____________________________ 209Adding remote calling capability______________________________________ 211Testing the application from Visual Studio______________________________ 215Lab 9: Playing a Video Stored in a <strong>FILESTREAM</strong> Database ona Silverlight Application__________________________________________216Setting up the data_________________________________________________ 217Creating a Silverlight application______________________________________ 218Creating a video handler_____________________________________________ 219Adding and configuring MediaElement_________________________________ 222Running and testing the application___________________________________224Summary____________________________________________________________ 225Chapter 6: <strong>FILESTREAM</strong> with SSIS and SSRS_______________________227<strong>FILESTREAM</strong> and SSIS________________________________________________228Lab 10: Loading BLOB Values into a <strong>FILESTREAM</strong> Column Using SSIS________228Setting up the sample database________________________________________230Creating the SSIS package____________________________________________ 235Lab 11: Exporting BLOB Values from a <strong>FILESTREAM</strong> Column Using SSIS______256Creating the SSIS package____________________________________________ 256Setting the output folder_____________________________________________ 256<strong>The</strong> Execute <strong>SQL</strong> task_______________________________________________ 257<strong>The</strong> Foreach Loop container__________________________________________ 257<strong>The</strong> Script task_____________________________________________________ 258Lab 12: Displaying <strong>FILESTREAM</strong> Data in SSRS Reports____________________ 260Summary___________________________________________________________ 269

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

Saved successfully!

Ooh no, something went wrong!