SQL Server Compress and Decompress Functions

COMPRESS and DECOMPRESS functions can be used as shown below:


SELECT COMPRESS ('Compress and Decompress Function SQL Server')

select CAST( 
DECOMPRESS(
COMPRESS ('Compress and Decompress Function SQL Server')
AS NVARCHAR(MAX) ) 
FROM dbo.Product


Comments

Popular posts from this blog

SSRS Report Design: Best Practices

SSAS OLAP Design - Best Practices

Enable Usage-Based Optimization in SSAS