开发者

Transact SQL - Information Schema

Is there a way to query an Information Schema from DB2 and dump the contents(tables - structure only),into another database? I'm looking for a way to cr开发者_StackOverfloweate a shell model of a database schema from DB2 into a SQL Server database?

Thanks


You can use db2look to get the table structure (DDL) out of db2.

Once you've got it, however, I'm afraid you'll have to manually replace any db2-specific syntax (datatypes, storage parameters, etc.) with it's corresponding SQL Server syntax.

It doesn't look like Microsoft's Migration Tool works for db2 yet. :(

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜