472,805 Members | 997 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,805 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 23054
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: erikbower65 | last post by:
Here's a concise step-by-step guide for manually installing IntelliJ IDEA: 1. Download: Visit the official JetBrains website and download the IntelliJ IDEA Community or Ultimate edition based on...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Sept 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM) The start time is equivalent to 19:00 (7PM) in Central...
14
DJRhino1175
by: DJRhino1175 | last post by:
When I run this code I get an error, its Run-time error# 424 Object required...This is my first attempt at doing something like this. I test the entire code and it worked until I added this - If...
0
by: Rina0 | last post by:
I am looking for a Python code to find the longest common subsequence of two strings. I found this blog post that describes the length of longest common subsequence problem and provides a solution in...
5
by: DJRhino | last post by:
Private Sub CboDrawingID_BeforeUpdate(Cancel As Integer) If = 310029923 Or 310030138 Or 310030152 Or 310030346 Or 310030348 Or _ 310030356 Or 310030359 Or 310030362 Or...
0
by: lllomh | last post by:
Define the method first this.state = { buttonBackgroundColor: 'green', isBlinking: false, // A new status is added to identify whether the button is blinking or not } autoStart=()=>{
0
by: lllomh | last post by:
How does React native implement an English player?
0
by: Mushico | last post by:
How to calculate date of retirement from date of birth
2
by: DJRhino | last post by:
Was curious if anyone else was having this same issue or not.... I was just Up/Down graded to windows 11 and now my access combo boxes are not acting right. With win 10 I could start typing...

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.