March 4, 2003 at 12:30 am
Hi,
Is there an easy way to copy binary data (Image field type) from a table to a table on another Sqlserver (no conection).
Normaly we use a tool that generates insert statements (like ObjectScriptr) that contains the data.
I get a long string for an Image field, but it gets broken up when inserting (I think it has something to do with binary data 13 (CR))
The way I do it, is to make a Backup of the database containing the table and restoring it localy.
Thanks,
Tom
March 4, 2003 at 6:38 am
BCP should work.
Andy
March 4, 2003 at 7:23 am
Thanks Andy,
Had to look up BCP, I had never used it before
Tom
March 4, 2003 at 8:34 am
DTS usually suffices, but for raw speed BCP usually the fastest, and definitely handy for situations like the one you have. Other option would be to copy image and pkey to a new table in a new db on the source server (using DTS), then detach, copy db to dest server, attach, then DTS again.
Andy
March 4, 2003 at 8:37 am
BCP works fine,
Thanks a lot
Tom
Viewing 5 posts - 1 through 5 (of 5 total)
You must be logged in to reply to this topic. Login to reply