• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1782
  • Last Modified:

Work with compressed data in BLOB-field (SPIS, tcompress)

I have to work with a database which is filled by a third party program.

It seems that part of the contents (also text contents) is stored in a BLOB-field (of type 'image') where it is compressed with (as far as I could find out) tcompress.

Data in a field typically start with "0x535049531A4C4835" which could be read as "SPISLH5". Searching for that I found something about tcompress.  

This is something new for me, and searches on internet did not bring me much information. Can someone provide me with some more information about this.

* How can I extract information in these fields to readable text (I am quite sure there is text in it)
* Are there any tools to enable querying such fields, or should I just forget about that.




0
sybe
Asked:
sybe
1 Solution
 
udaya kumar laligondlaTechnical LeadCommented:
I have to work with a database which is filled by a third party program.

It seems that part of the contents (also text contents) is stored in a BLOB-field (of type 'image') where it is compressed with (as far as I could find out) tcompress.

Data in a field typically start with "0x535049531A4C4835" which could be read as "SPISLH5". Searching for that I found something about tcompress.  

This is something new for me, and searches on internet did not bring me much information. Can someone provide me with some more information about this.

* How can I extract information in these fields to readable text (I am quite sure there is text in it)
* Are there any tools to enable querying such fields, or should I just forget about that.

you have to write an application to read the contents of the blob field.
the follwoing article explains how to read the field data
http://www.akadia.com/services/dotnet_read_write_blob.html
then you need to decompress the the contents using tcompress. you can get the tcompress component and documentation at
http://webcentre.co.nz/compress.htm
you can not do this in TSQL
0
 
sybeAuthor Commented:
I hoped for something more then just some links. Blobs are not new for me.

But the documentation for TCompress is for Delphi applications. I am using asp.net, and it seems unusable with vb.net or c#.
0

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now