Skip to Content
author's profile photo Former Member
Former Member

How can I transfer binary data from a database to another database?

Hi all.

I want to transfer binary data from a MS SQL Server 2000 to anohter SQL Server 2000.

I created JDBC(table) to JDBC(stored procedure) scenario,and

I uploaded a JPG image file to the sender table using the java program I developed.

The JPG data was transfered to receiver,but the transfered data was broken.

I can't not open the file correctly.

Can XI transfer binary data using JDBC adapter?

The sender table structure is following.

<b>column (data type)</b>

id (int 4)

binary (binary 8000)

flag (int 4)

The receiver stored procedure parameter is following.

<b>parameter (data type)</b>

id (smallint)

binary (binary 8000)

flag (smallint)

Regards.

Yuuki

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.