Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Extracting Files from LONG VARCHAR column

Status
Not open for further replies.

fliewatueuet

Programmer
Sep 23, 2008
1
AT
I have to extract files from a SQLBase 7 Database.

The structure is like:

id int
ext char(3)
dok long varchar

The table looks like:

1 DOC <some funny chars>
2 XLS "
.......

Now I want to recreate the files, stored in the LONG VARCHAR COLUMN with filenames containing number and extension of the other columns, therefore

1.DOC should contain the Word document stored in the LONG VARCHAR column for this document and so on.

Have tried many things till now, but couldn't recreate it.

Unloading the database shows, that the content of the column is "encrypted" it some way, I think this results from converting binary data to varchar.

Any help or hint would be greatly appreciated!

Many thanks in advance!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top