?
Solved

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

Posted on 2009-04-08
2
Medium Priority
?
1,692 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 12

Accepted Solution

by:
udaya kumar laligondla earned 1000 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

Basic Security of Your VPC

So, you’ve got this shiny new VPC and a fancy new application configured on your EC2 servers ready to go. This application is only accessible from your computer, which is great for security, but you need your users to be able to access it! So, what’s the easiest way to do this?

Question has a verified solution.

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

In the first part of this tutorial we will cover the prerequisites for installing SQL Server vNext on Linux.
Recently we ran in to an issue while running some SQL jobs where we were trying to process the cubes.  We got an error saying failure stating 'NT SERVICE\SQLSERVERAGENT does not have access to Analysis Services. So this is a way to automate that wit…
This video shows, step by step, how to configure Oracle Heterogeneous Services via the Generic Gateway Agent in order to make a connection from an Oracle session and access a remote SQL Server database table.
Viewers will learn how to use the INSERT statement to insert data into their tables. It will also introduce the NULL statement, to show them what happens when no value is giving for any given column.
Suggested Courses

741 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