troubleshooting Question

How to transfer binary data using Import/Export Wizard [SQL Server 2005]

Avatar of tcianflone
tcianfloneFlag for United States of America asked on
Microsoft SQL Server 2005
2 Comments1 Solution519 ViewsLast Modified:
I am trying to transfer populated tables from one database to another of exactly the same schema in the same SQL instance using the Import/Export wizard. I have done this before using the same method I am trying to use now, but this time two of the columns in the table (bitmap, thumbnail) are of the type IMAGE, and I'm getting the following error exactly twice:

ERROR : errorCode=0 description=Input string was not in a correct format. helpFile=TableTransferGenerator Task helpContext=0 idofInterfaceWithError={8BDFE893-E9D8-4D23-9739-DA807BCDC2AC}

I am assuming this is because of the two image columns. I am using a script to do the data transfer, which looks like this:
SELECT
[name]
,[filespec]
,[height]
,[width]
,[DPI]
,[bitmap]
,[bitmap_size]
,[thumbnail]
,[thumbnail_size]
,[modified]
,[default_pers]
FROM [gpctest].[dbo].[garment_bmp]

The transfer is between two tables of exactly the same construct, basically the same database schema, just two different databases. What do I have to do to get the binary data to export from the one database to the other? Thanks.
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 2 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 2 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros