dbTalk Databases Forums  

Extracting BLOB data from SyBase to Access

comp.database.ms-access comp.database.ms-access


Discuss Extracting BLOB data from SyBase to Access in the comp.database.ms-access forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Oren
 
Posts: n/a

Default Extracting BLOB data from SyBase to Access - 08-19-2003 , 03:45 PM






Hi,

Our company uses an application called "Prolaw" which has a SyBase
backend database. Since its reporting system is quite weak, I've been
importing data in to Access using ODBC, then using Access for reports.

The only problem is that I'm unable to access data stored in BLOBs in
the Sybase database. I've tried using getChunk(), MS Knowledge base
articles 210486 (Reading, Storing and Writing BLOBs) and 194975
(Howto: Read and Write BLOBs Using GetChunk and AppendChunk).

When using getChunk() or article 210486's writeBlob() function, the
data extracted is a sequence of "?" and some other garbage in the
string (strings were much shorter than the actual data stored).

When using artical 194975's blobToFile() function, the data extracted
is the field's length.

Any ideas about extracting these stubborn BLOBs from SyBase?

Much thanks,
Oren

Reply With Quote
  #2  
Old   
Matthew Reeves
 
Posts: n/a

Default Re: Extracting BLOB data from SyBase to Access - 08-19-2003 , 11:27 PM






"Oren" <oren (AT) gdblegal (DOT) com> wrote

Quote:
When using getChunk() or article 210486's writeBlob() function, the
data extracted is a sequence of "?" and some other garbage in the
string (strings were much shorter than the actual data stored).

Is it possible that SyBase stores the data in ANSI format? Try looking at
the data thus (assuming "ExtractData" as your extracted object):
StrConv(ExtractData,vbUnicode)

....and see if it produces a readable result. Just a thought.




Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.