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.

Creating a data sourceChapter 6: <strong>FILESTREAM</strong> with SSIS and SSRS<strong>The</strong> next step is to create a data source pointing to the database <strong>of</strong> the product catalogapplication. Note that, in most real world reporting service projects, you will createshared data sources and shared datasets so that the object definitions can be reused.However, for this example we will specify an embedded connection.In the Report Data window, right-click the Data Sources node and select Add DataSource. When the Data Source Properties dialog box opens, either enter the connectionstring, or click Edit to build a connection string (Figure 6-27). Specify the <strong>SQL</strong> <strong>Server</strong>instance that hosts the product catalog database. When we created the data source forour SSIS lab, we were very careful to use Windows authentication in order to be ableto access the data using the streaming APIs. Since SSRS does not support accessingthe <strong>FILESTREAM</strong> data using Win32 or Managed APIs, we are free to choose betweenWindows authentication and <strong>SQL</strong> <strong>Server</strong> authentication.Figure 6-27:Creating the data source.Click OK on the Data Source Properties dialog box to save the newly created data sourceand return to the Report Designer.263

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

Saved successfully!

Ooh no, something went wrong!