﻿<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>SQLServerCentral / SQL Server 2005 / SQL Server 2005 General Discussion  / Compression/Decompression of values in Database / Latest Posts</title><generator>InstantForum.NET v2.9.0</generator><description>SQLServerCentral</description><link>http://www.sqlservercentral.com/Forums/</link><webMaster>notifications@sqlservercentral.com</webMaster><lastBuildDate>Sun, 26 May 2013 20:56:44 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: Compression/Decompression of values in Database</title><link>http://www.sqlservercentral.com/Forums/Topic515568-149-1.aspx</link><description>You would need to do the compress / decompress in a CLR stored procedure or in a CLR function.  CLR would need to be used because you would be accessing an external DLL to do the compress/decompress.  If you take this route you will need extensive testing, especially to look for memory leaks in the external DLL.  If memory does leak, then eventually you will have to restart SQL to reclaim the memory.It would probably be safer to get the application to do the compress/decompress, as this will keep any memory leaks outside of SQL Server and safeguard your SQL Server SLA.</description><pubDate>Fri, 27 Jun 2008 02:25:12 GMT</pubDate><dc:creator>EdVassie</dc:creator></item><item><title>RE: Compression/Decompression of values in Database</title><link>http://www.sqlservercentral.com/Forums/Topic515568-149-1.aspx</link><description>search for the xpFileUtils.dll :this provides a set of extended stored procedures which will help to decompress/compress data using LZ/L7 algorithm.</description><pubDate>Thu, 26 Jun 2008 19:00:54 GMT</pubDate><dc:creator>koustav_1982</dc:creator></item><item><title>RE: Compression/Decompression of values in Database</title><link>http://www.sqlservercentral.com/Forums/Topic515568-149-1.aspx</link><description>do you know any specific user defined function for zip/unzip?</description><pubDate>Fri, 13 Jun 2008 17:54:28 GMT</pubDate><dc:creator>jagadish_sds</dc:creator></item><item><title>RE: Compression/Decompression of values in Database</title><link>http://www.sqlservercentral.com/Forums/Topic515568-149-1.aspx</link><description>For example I get credit report as xml file and its around 6MB size. I can store it in database. Event I can zip (compress) and store it in Database the size of the credit report is very less.The zip/unzip I want to do  it in database while inserting/updating/selecting the credit report, not in application.</description><pubDate>Fri, 13 Jun 2008 17:52:58 GMT</pubDate><dc:creator>jagadish_sds</dc:creator></item><item><title>RE: Compression/Decompression of values in Database</title><link>http://www.sqlservercentral.com/Forums/Topic515568-149-1.aspx</link><description>[quote][b]jagadish_sds (6/11/2008)[/b][hr]I want to compress the values and insert/update to table and when selecting the values I want to decompress it and select.Is there any functions/methods available in sql server 2005?. I can do it in Application side and send compressed values to database, but I want to do it in database itself.[/quote]you could create user defined functions for such things but client-side seems more appropriate for these things.</description><pubDate>Fri, 13 Jun 2008 09:07:37 GMT</pubDate><dc:creator>noeld</dc:creator></item><item><title>RE: Compression/Decompression of values in Database</title><link>http://www.sqlservercentral.com/Forums/Topic515568-149-1.aspx</link><description>Your description is pretty vague.  Can you describe what you mean by compress/decompress.  How about giving us some examples using SQL statements and sample data?  It would help us help you quite a bit more.</description><pubDate>Wed, 11 Jun 2008 16:33:19 GMT</pubDate><dc:creator>John Rowan</dc:creator></item><item><title>Compression/Decompression of values in Database</title><link>http://www.sqlservercentral.com/Forums/Topic515568-149-1.aspx</link><description>I want to compress the values and insert/update to table and when selecting the values I want to decompress it and select.Is there any functions/methods available in sql server 2005?. I can do it in Application side and send compressed values to database, but I want to do it in database itself.</description><pubDate>Wed, 11 Jun 2008 16:14:21 GMT</pubDate><dc:creator>jagadish_sds</dc:creator></item></channel></rss>