By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
437,925 Members | 1,778 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 437,925 IT Pros & Developers. It's quick & easy.

db2move questions

P: n/a

I'd like to move 2 tables' data from schema1 in db1 to schema2 in db2.
There's no schema1 in db2. I use something like the following, but I
end up getting tables under schema2 in db2. Any help? Thanks!

$db2move db1 export -tn table1,table2 -sn schema1 -u db2inst1 -p
$db2move db2 import -u schema2 -p schema2

Nov 12 '05 #1
Share this Question
Share on Google+
2 Replies

P: n/a

Once you are done exporting, edit the file "db2move.lst" to have the
new schema name then import it

db2move db2 import

Nov 12 '05 #2

P: n/a
Right, Thanks a lot.

Nov 12 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.