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 10: Integrating <strong>FILESTREAM</strong> with other <strong>SQL</strong> <strong>Server</strong> FeaturesPublication<strong>SQL</strong> <strong>Server</strong>2008 and later<strong>SQL</strong> <strong>Server</strong>2005<strong>SQL</strong> <strong>Server</strong>2000 or earlierReplicate as <strong>FILESTREAM</strong> Supported Not supported Not supportedReplicate as VARBINARY(MAX) Supported Supported Not supportedTable 10-1:<strong>FILESTREAM</strong> replication support for <strong>SQL</strong> <strong>Server</strong> versions.Note that it is not possible to create a single publication that replicates <strong>FILESTREAM</strong>columns with the <strong>FILESTREAM</strong> attribute to <strong>SQL</strong> <strong>Server</strong> 2008 subscribers and without the<strong>FILESTREAM</strong> attribute to <strong>SQL</strong> <strong>Server</strong> 2005 subscribers.Size limits when replicating <strong>FILESTREAM</strong> columns as VARBINARY(MAX) columnsWhen replicating <strong>FILESTREAM</strong> values as VARBINARY(MAX) columns to <strong>SQL</strong> <strong>Server</strong> 2008, and later,subscribers, the maximum data size supported is 2 GB. However, replicating large data values from<strong>SQL</strong> <strong>Server</strong> 2008 publishers to <strong>SQL</strong> <strong>Server</strong> 2005 subscribers is limited to a maximum <strong>of</strong> 256 MB <strong>of</strong> data.Replication will fail if the data value is larger.By default, <strong>FILESTREAM</strong> columns are configured to replicate as VARBINARY(MAX)values. You can change this setting from the property page <strong>of</strong> the publication using SSMS.To do this, open the publication properties dialog box by right-clicking on the publicationand selecting Properties. <strong>The</strong>n, on the <strong>Art</strong>icles tab, right-click on the desired table articleand select the Set Properties menu item. Change the property value Convert filestreamto MAX data types to False (Figure 10-1).353

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

Saved successfully!

Ooh no, something went wrong!