According to SQL Server 2016 docs COMPRESS and DECOMPRESS methods are just a blackbox – you put the data in and after some magic it gets compressed or decompressed. The problem is that I need to find a way on how to decompress this data outside SQL Server – using Snowflake or Azure Data Factory preferably. Does anyone please have a clue on how to approach this topic? This difficult in particular due to lack of detailed docs on the compression method/algorithm used.
Sql-server – SQL Server 2016 compress function details – external decompression
azure-data-factorycompressionsnowflakesql-server-2016
Related Question
- Sql-server – Sql Server 2016 errror Incorrect syntax near ‘EXTERNAL’
- SQL Server 2012 – How to Compress Columns for Whole Table
- SQL Server 2016 Maintenance with TDE and Compression – Using Ola Hallengren’s Scripts
- Sql-server – When would I want to use COMPRESS and DECOMPRESS functions in SQL Server 2016
Best Answer
I don't know what documentation page you are referring to but the COMPRESS reference states:
You can then decompress using a GZip library in application code. PowerShell example, using .NET objects: