Blob Data from Sybase

Hi,

I have a sybase database need to extract the saved word documents in Sybase as blob data. I need to extract all those documents into a folder.

Please provide method how can I do that using Delphi or Visual Studio 2005

Your help is much appreciated.

Thanks,
Ktuser.
ktuserAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

grant300Commented:
Sybase is not a database; it is a company that makes at least 4 database products.  Please post the product and version you are using.

Visual Studio 2005 is not a language, it is an IDE that supports a bunch of different languages.  Which one are you thinking of using?

Finally, it is usually easier to avoid the low-level database interface code (e.g. ctLib) and use something at a higher level like ODBC.  The ODBC drivers already know how to handle the protocol for getting blobs into and out of the database so you avoid that little slice of hell.

I would use ODBC with whatever language supports ODBC and has a native BLOB datatype.  Then you simply have to write a query and, for each result row, pull out the blob and (hopefully) a file name and then write the file to the target folder.

Don't expect this to be lightning fast either.

Regards,
Bill
0
ktuserAuthor Commented:
Thanks a lot Bill for your response.

The database is Sybase ASE 12.5 and I am planing to use VB.NET.

Appreciate you help now I got an idea how I can proceed with the project.

Regards,
Ktuser.
0
grant300Commented:
VB.NET should do the trick nicely.

Remember your BLOBs are BINARY data, not strings, and you should be fine.

Regards,
Bill
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Delphi

From novice to tech pro — start learning today.