473,811 Members | 2,631 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 6681

Once you are done exporting, edit the file "db2move.ls t" 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
1839
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 read: 1505; -Rows committed: 1505; Table "SCHMA"."PAYMENTOPTION" IMPORT: -Rows read: 0; -Rows committed: 0; Table "SCHMA"."PAYMENTREVERSAL" IMPORT: -Rows read: 4514; -Rows committed: 4514; Table "SCHMA"."PAYPERIOD"
2
9058
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
17365
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 db2move tools. Then I moved the *.SQL and *.IXF files to the linux server, where is installed DB2 v.8 fp 6.
1
3063
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 value in row "1" and column "1" is not NULL, but the target column has been defined as GENERATED ALWAYS. SQL3550W The field value in row "2" and column "1" is not NULL, but
4
5203
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 export -l lobs/ then import on the other machine using
0
353
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 help? Thanks! $db2move db1 export -tn table1,table2 -sn schema1 -u db2inst1 -p db2inst1 $db2move db2 import -u schema2 -p schema2
2
6013
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 export/import, and I got this message. SQL0286N A default table space could not be found with a page size of at least "16384" that authorization ID "DB2ADMIN" is authorized to use. SQLSTATE=42727 My question is do I need to create the...
2
4859
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. A table which has 1147020 records has been imported without any "transaction log" error. But if i happen to insert the same amount of records into table using import it failed.
0
2652
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 32bit instance. Problem: DB2MOVE COPY giving SQL3255N reason code 2 during the load phase. Command line: db2move sourcedb COPY -sn oldschema -co TARGET_DB newdb
1
4387
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 server. ################################################################ C:\DB2_bin\DB2_tips>db2move AS400DB EXPORT -u SRLA -p SRLA -sn XSIFIC
0
9730
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9605
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10651
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10392
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10403
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
1
7671
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
1
4341
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3868
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3020
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.