来自 DB2 的 SQL 转储 [英] SQL Dump from DB2
本文介绍了来自 DB2 的 SQL 转储的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在尝试将一个 IBM DB2 UDB 服务器中特定模式的内容转储到一个 sql 文本文件中(很像 mysql 的 mysqldump 功能).
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).
我遇到了 db2look,但它只转储模式的结构(只有 ddl,没有 dml).
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.
推荐答案
你可以使用 SQquirreL,一个 SQL客户端用 Java 实现,以完成此操作.在其对象"树中,您将选择所有所需的表并从上下文菜单中选择脚本 > 创建数据脚本".
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屋!
查看全文