来自DB2的SQL转储 [英] SQL Dump from DB2
本文介绍了来自DB2的SQL转储的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我试图将一个IBM DB2 UDB服务器中的特定模式的内容转储到一个sql文本文件(非常像mysql的mysqldump功能)。
我遇到了db2look,但它只转储了架构的结构(只有ddl,no dml)。
那么我该怎么做呢? >
jrh。
解决方案
您可以使用 SQquirreL ,一个用Java实现的SQL Client来完成此操作。在其对象中,您可以选择所有所需的表,并从上下文菜单中选择脚本>创建数据脚本。
I'm trying to dump the contents of a particular schema in one IBM DB2 UDB server into an sql text file (much like the mysqldump functionality of mysql).
I came across db2look, but it only dumps the structure of the schema (only ddl, no dml).
So how can I get my thing done?
jrh.
解决方案
You could use SQquirreL, an SQL Client implemented in Java, to accomplish this. In its "Objects"-Tree you would select all desired tables and select "Scripts > Create Data Script" from the context menu.
这篇关于来自DB2的SQL转储的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文