How to get data from DB2 to Sqlserver

Dear all,

I want to dump data from DB2 database to Sqlserver ,

could any one suggest me for

July 10th, 2013 2:47am

Hello,

Create a linked server using an ODBC DSN created with the IBM Client Access driver.

I have not been able to retrieve data from DB2 tables with indexes, so my suggestion is to create tables on DB2 with no indexes where you can put the data you would like to export from DB2, and then use the linked server to import the data to SQL Server from those tables. SQL Server Integration Services may help you automate the process.

If at some point you are interested on writing information back from SQL Server to DB2, you may have implement journaling on the IBM computer (AS/400 for example).


Hope this helps.


 
Regards,
Alberto Morillo
SQLCoffee.com

July 10th, 2013 11:39am

You can try the following software http://dbconvert.com/convert-mssql-to-db2-pro.php to automate your migration tasks.
Free Windows Admin Tool Kit Click here and download it now
July 11th, 2013 3:11am

Hi Hari,

I've gone thru this for our BI project and my suggestions are :-

1) Use IBM OLE DB drivers instead of Microsoft DB2 drivers. Reason being Microsoft drivers require more permissions than just read on the DB2 side. Use 64 bit drivers if possible.

2) Once drivers are installed, you can use a simple tool like SQL mgmt studio import/export wizard.

Thong

July 11th, 2013 4:20am

Hari,

Have a look at SQLines Data tool (http://www.sqlines.com/db2-to-sql-server). It can migrate and validate data in multiple concurrent sessions. Also there are tools including Online tool for DDL conversion.

Thanks, 

Dmitry

Free Windows Admin Tool Kit Click here and download it now
July 12th, 2013 6:08am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics