简体   繁体   English

将表从db2 / as400导出到Windows db2

[英]Exporting tables from db2/as400 to Windows db2

Hello everybody (this is my first question, be patient... And be patient for my english too...). 大家好(这是我的第一个问题,请耐心等待,也请耐心等待我的英语...)。

This is what I need: I have a db2 on as400 and i have to export some schemas (one or two) to a db2 database on Windowws. 这就是我需要的:我在as400上有一个db2,我必须将一些模式(一个或两个)导出到Windowws上的db2数据库。 I already created the tables structures (exporting sql create statements), my problem is how to populate those tables with the data contained in as400 db 我已经创建了表结构(导出sql create语句),我的问题是如何用as400 db中包含的数据填充这些表

Thanks in advance for help! 在此先感谢您的帮助!

You can write a tool that will create SQL scripts to connect to DB2, FETCH and INSERT INTO your SQL Server database. 您可以编写一个工具来创建SQL脚本,以连接到DB2,FETCH和INSERT INTO SQL Server数据库。 There may not be a simple solution because of relational constraints. 由于关系约束,可能没有简单的解决方案。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM