473,395 Members | 1,554 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.

Is there a straightforward way to export/import an entire schema in DB2 UDB?

Hi,

Is there a straightforward way to export/import an entire schema in
DB2 UDB? I am looking for the something similar to Oracle exp/imp.

Thanks,
Michael
Nov 12 '05 #1
6 23113
If I understand correctly, you want to extract the DDL.

use this command or lookup the following command and choose your options:

db2look -d [DBName] -z [schema] -u [user] -e -l -x -c ;

Hope this helps

Christos


Michael wrote:
Hi,

Is there a straightforward way to export/import an entire schema in
DB2 UDB? I am looking for the something similar to Oracle exp/imp.

Thanks,
Michael

Nov 12 '05 #2
whats the nofed option do?

thanx

On Thu, 11 Nov 2004 10:35:16 -0500, Christos Kalantzis
<ch*******@intertrade.com> wrote:
If I understand correctly, you want to extract the DDL.

use this command or lookup the following command and choose your options:

db2look -d [DBName] -z [schema] -u [user] -e -l -x -c ;

Hope this helps

Christos


Michael wrote:
Hi,

Is there a straightforward way to export/import an entire schema in
DB2 UDB? I am looking for the something similar to Oracle exp/imp.

Thanks,
Michael


Nov 12 '05 #3
Andrew,

http://publib.boulder.ibm.com/infoce...e/r0002051.htm

The above link contains complete explanation of the command.

However to answer your question....it won't include federated objects.

Christos Kalantzis


Andrew wrote:
whats the nofed option do?

thanx

On Thu, 11 Nov 2004 10:35:16 -0500, Christos Kalantzis
<ch*******@intertrade.com> wrote:

If I understand correctly, you want to extract the DDL.

use this command or lookup the following command and choose your options:

db2look -d [DBName] -z [schema] -u [user] -e -l -x -c ;

Hope this helps

Christos


Michael wrote:
Hi,

Is there a straightforward way to export/import an entire schema in
DB2 UDB? I am looking for the something similar to Oracle exp/imp.

Thanks,
Michael


Nov 12 '05 #4
Andrew,

http://publib.boulder.ibm.com/infoce...e/r0002051.htm

The above link contains complete explanation of the command.

However to answer your question....it won't include federated objects.

Christos Kalantzis


Andrew wrote:
whats the nofed option do?

thanx

On Thu, 11 Nov 2004 10:35:16 -0500, Christos Kalantzis
<ch*******@intertrade.com> wrote:

If I understand correctly, you want to extract the DDL.

use this command or lookup the following command and choose your options:

db2look -d [DBName] -z [schema] -u [user] -e -l -x -c ;

Hope this helps

Christos


Michael wrote:
Hi,

Is there a straightforward way to export/import an entire schema in
DB2 UDB? I am looking for the something similar to Oracle exp/imp.

Thanks,
Michael


Nov 12 '05 #5
Andrew,

http://publib.boulder.ibm.com/infoce...e/r0002051.htm

The above link contains complete explanation of the command.

However to answer your question....it won't include federated objects.

Christos Kalantzis


Andrew wrote:
whats the nofed option do?

thanx

On Thu, 11 Nov 2004 10:35:16 -0500, Christos Kalantzis
<ch*******@intertrade.com> wrote:

If I understand correctly, you want to extract the DDL.

use this command or lookup the following command and choose your options:

db2look -d [DBName] -z [schema] -u [user] -e -l -x -c ;

Hope this helps

Christos


Michael wrote:
Hi,

Is there a straightforward way to export/import an entire schema in
DB2 UDB? I am looking for the something similar to Oracle exp/imp.

Thanks,
Michael


Nov 12 '05 #6
Ian
Michael wrote:
Hi,

Is there a straightforward way to export/import an entire schema in
DB2 UDB? I am looking for the something similar to Oracle exp/imp.


db2move is the closest analog to exp/imp, although it will not include
complete DDL for the database (The IXF format used by db2move only
keeps definitions of tables/indexes).

The best way is a combination of db2look (DDL) and db2move (data).

----== Posted via Newsfeeds.Com - Unlimited-Uncensored-Secure Usenet News==----
http://www.newsfeeds.com The #1 Newsgroup Service in the World! >100,000 Newsgroups
---= East/West-Coast Server Farms - Total Privacy via Encryption =---
Nov 12 '05 #7

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

Similar topics

0
by: Dave Irick | last post by:
We are looking for assistance in setting up export/import jobs that will use DLT tapes managed by Netbackup. The issue seems to be how to specify the "file" parameter of export/import so that it is...
1
by: Alessio Pompigna | last post by:
Hello, I'm going to setup a basic update between two DB2 instances (ver 4 and ver 8) via the export/import functionalities. I'm very new to DB2, so any ideas is welcome. I'm wandering if...
0
by: Tom | last post by:
Since updating our database to Access 2003, I have not been able to export / import reports queries or anything between different machines. We use an access "Front End" and a SQL back end. I...
5
by: funkybrown | last post by:
When adding a Web Reference to a new project before I even add any code to test the service I thought i would build the project to see if it would complie and following error occured: Custom...
0
by: Julie Warden | last post by:
Group, I'm running Oracle 8.05 with Solaris 6. I have a database with several schemas, and I want to create a test schema from one of the other ones. I'm having a problem with my...
2
by: othellomy | last post by:
What are the ways to export/import data in/out of SQL Server 2005? I used to use DTS for 2000 to do such thing and now I can't even find the wizard in 2005!
1
by: mw | last post by:
Hi I`ve Ms SqlExpress 2005 and question how to export/import all databases to/from file. Bcp.exe can do it but only for a table I think. Pls help Mirek
0
by: vincent90152900 | last post by:
I need to export a database, x, of a server, X, to another database, y, of a server, Y and I need export the database schema only, not include the data. Does anyone know how to do that? Many thanks...
5
by: sumanta123 | last post by:
Dear Sir, How to export/import the excel file in oracle database using sql promt. Please guide me the command(export/import) for the neddful. Thanks in Adavance. Regards Sumanta Panda
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
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
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...
0
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,...
0
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...
0
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...

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.