473,395 Members | 1,726 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

db2move questions

Hi,

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
db2inst1
$db2move db2 import -u schema2 -p schema2

Nov 12 '05 #1
2 6647

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
Right, Thanks a lot.

Nov 12 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: TD Matthews | last post by:
I'm hoping someone has seen this. I'm moving our dev db (8.1 FP5 for both) to a windows machine from AIX using db2move, and all goes well except with a few tables like PAYPERIOD IMPORT: -Rows...
2
by: erkki | last post by:
Hi, I am trying to move DB2 8.1 database from AIX to Windows. Following errors appears when I try to run db2move db import. <IMPORT.out> ***** DB2MOVE ***** Action: IMPORT
2
by: valerio | last post by:
Hi all, I've some problem to import data to DB2 using the db2move and db2look tools. Follow the problem : I have exported data from db2 v. 7 database on windows server, using the db2look and...
1
by: Terry | last post by:
Hi All, Im attempting to use db2move from 7.1.0 to 8.1.4. It fails to import tables defined using the columns with GENERATED ALWAYS. The error message generated follows: "SQL3550W The field...
4
by: Christos Kalantzis | last post by:
Hello I am migrating a DB from AIX DB2 7.2 to Linux DB2 8.2.2 amd_64bit Linux 2.6. I have often migrated databases from one platform to another without any issues using db2move db2move dbname...
0
by: ibm_97 | last post by:
Hi, 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...
2
by: Alan | last post by:
Guys, Got a DB2 ver. 8.2 on Windows 2003 with four tablespaces (some field size around varchar(2000 on it) define on it. Try to create another database on another Windows 2003 server using db2move...
2
by: Mani | last post by:
Hi Everyone, i have a doubt regarding db2move utility. I have created a database with circular logging (primary logs - 2, secondary logs - 1). I imported tables into this new db using db2move....
0
by: mikeodba | last post by:
Summary: SQL3255 Reason code 2 from db2move with DB2 v9.1 fixpack 5. on Win32. Win32 DB2 version 9.1 fixpack5 , performing DB2MOVE COPY with SCHEMAMAP between two local databases in the same...
1
by: Richard2000 | last post by:
Hi team, Has anyboby faced this issue? I'm trying to use db2move to export as400 schema content to my local windows file system. The aim is to be able to re-import it into a DB2 UDB v9 Windows...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.