Solved

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

Posted on 2009-04-08
2
1,615 Views
Last Modified: 2012-05-06
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
Comment
Question by:sybe
2 Comments
 
LVL 12

Accepted Solution

by:
udayakumarlm earned 500 total points
ID: 24096042
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
 
LVL 28

Author Comment

by:sybe
ID: 24107897
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

[Webinar] Disaster Recovery and Cloud Management

Learn from Unigma and CloudBerry industry veterans which providers are best for certain use cases and how to lower cloud costs, how to grow your Managed Services practice in IaaS clouds, and how to utilize public cloud for Disaster Recovery

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Let's review the features of new SQL Server 2012 (Denali CTP3). It listed as below: PERCENT_RANK(): PERCENT_RANK() function will returns the percentage value of rank of the values among its group. PERCENT_RANK() function value always in be…
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
Familiarize people with the process of retrieving data from SQL Server using an Access pass-thru query. Microsoft Access is a very powerful client/server development tool. One of the ways that you can retrieve data from a SQL Server is by using a pa…
This videos aims to give the viewer a basic demonstration of how a user can query current session information by using the SYS_CONTEXT function

895 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now