473,287 Members | 3,295 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,287 software developers and data experts.

migrate DB2 table to MS SQL server with GIF fields

I have to migrate database from AIX DB2 to MS Sql Server 2000. In one
table there is field with GIF image. I have tried with "Import/Export
Data" wizard on SQL server to import that table. All other fields are
successfully migrated except for that field with gif image (I get only
"GIF89A" as value in that field on MS SQL). Also, "Import/Export Data"
wizard on SQL server "sees" that field as LONG VARCHAR???? (isn't this
supposed to be some kind of BLOB field?). I'm using DB2 ODBC driver on
SQL server to connect on DB2 server.

Does anybody know some other way to migrate that type of data?

Tnx.
Nov 12 '05 #1
1 4527

"Davor" <kr**@mail.inet.hr> wrote in message
news:cf**********@sunce.iskon.hr...
I have to migrate database from AIX DB2 to MS Sql Server 2000. In one
table there is field with GIF image. I have tried with "Import/Export
Data" wizard on SQL server to import that table. All other fields are
successfully migrated except for that field with gif image (I get only
"GIF89A" as value in that field on MS SQL). Also, "Import/Export Data"
wizard on SQL server "sees" that field as LONG VARCHAR???? (isn't this
supposed to be some kind of BLOB field?). I'm using DB2 ODBC driver on
SQL server to connect on DB2 server.
Which version of DB2 are you running? V7.2? V8.1?

What is the DB2 datatype of the column containing the GIF? It *should* be a
BLOB if it contains a GIF; that's the only appropriate datatype for binary
data like a GIF.

Perhaps the GIFs were never properly stored in the first place. Can your
applications read and display the GIFs properly from the DB2 table?

I played with MS SQL briefly last year but don't recall if it supports BLOBs
or what it calls the BLOB datatype. As for the Import/Export Data Wizard on
SQL Server, I've never used it and don't know how it determines the datatype
of the field. I don't know it's reputation either: solid and reliable or
buggy and unreliable. You might try asking about its reliability on a MS SQL
newsgroup; perhaps the MS SQL code needs a fixpack??
Does anybody know some other way to migrate that type of data?

If nothing else works, you could migrate everything but the GIF column, then
insert each of the GIFs one at a time via an application you write yourself.
It's not the ideal option but it *might* work.

Rhino
Nov 12 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: Phil Powell | last post by:
I've read some online resources that utilize various MySQL command-line actions to migrate data from Access to MySQL. The situation is this: a group of co-workers of mine will be using an Access...
1
by: PT | last post by:
I got a problem. And thats..... First of all, I got these three tables. ------------------- ------------------ ---------------------- tblPerson tblPersonSoftware ...
4
by: Richard Holliingsworth | last post by:
Hello: I have an Access 2K form I built from a SQL Server 7.0 view. I want to lock certain fields in the database from users so they can see them on the views and forms, but NOT be able to edit...
4
by: Bon | last post by:
Hello all Would it be possible to migrate the MS Access 2000 to MS SQL Server 2000? My application is using MS Access 2000 as database and as user interface such as forms. Now, I want to...
0
by: Gee | last post by:
To migrate the VSAM files to SQL server 2000 I need to load 'OLE DB provider for AS/400 and VSAM'. To load the provider I've to install Host Integration Server. But the cost is too high. Please...
2
by: clickon | last post by:
I am confused about the way in which asp:table objects work. When a control is within an asp table it generally appears to be in the scope of the tables parent control. E.g. if i have a page that...
6
by: polocar | last post by:
Hi, I'm writing a program in Visual C# 2005 Professional Edition. This program connects to a SQL Server 2005 database called "Generations" (in which there is only one table, called...
0
by: phpmaet | last post by:
hi I have migrated the Access 2003 database to Oracle 10g database by Oracle work bench. Actually i am using the platform is Microsoft Windows Server 2003 for migaration. and i have...
7
by: TG | last post by:
hi! I am trying to create a sql server table from an excel sheet. Here is the code I have: 'This procedure the xlsx file and dumps it to a table in SQL Server
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: Aftab Ahmad | last post by:
Hello Experts! I have written a code in MS Access for a cmd called "WhatsApp Message" to open WhatsApp using that very code but the problem is that it gives a popup message everytime I clicked on...
0
by: Aftab Ahmad | last post by:
So, I have written a code for a cmd called "Send WhatsApp Message" to open and send WhatsApp messaage. The code is given below. Dim IE As Object Set IE =...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: marcoviolo | last post by:
Dear all, I would like to implement on my worksheet an vlookup dynamic , that consider a change of pivot excel via win32com, from an external excel (without open it) and save the new file into a...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.