in the taget box, if you plan to do an import, then use
-io INSERT or -io REPLACE
if load
-lo INSERT or -lo REPLACE
-io options CREATE and REPLACE_CREATE will create tables ...
Refer the command reference for details
HTH
Sathyaram
www.db2click.com
Sathyaram Sannasi
Tel:01423-85-2461
-----Original Message-----
From: Jani Tamminen
[mailto:db2udbdba-ezmlmshield-x74958620.[Email address protected]
Sent: 21 July 2004 19:11
To: LazyDBA Discussion
Subject: copy data from prod database schema to dev database schema
I want to copy data from our production database to the development
database. I want to move only the data. I do not need the table structure,
constrains or anything else.
I think I can use the db2move command to export out all the data like the
following:
db2move dbname export -tc schema1
When I load the data into our development database, will it recreate the
tables? My problem is that I do not want to recreate the structure. I want
to make sure that I am copying over only the data.
Is db2move the best utility to move the data between two databases without
making any structure changes to the target database?
---------------------------------------------------------------------
PLEASE CLICK REPLY-ALL TO SEND A REPLY TO EVERYONE
website: http://www.LazyDBA.com
To unsubscribe: http://www.lazydba.com/unsubscribe.html
For additional commands, e-mail: db2udbdba-[Email address protected]
**********************************************************************
This email and any files transmitted with it are confidential and are
intended solely for the use of the individual or entity to whom they are
addressed. This communication represents the originator's personal views and
opinions, which do not necessarily reflect those of HPI Limited. If you are
not the original recipient or the person responsible for delivering the
email to the intended recipient, be advised that you have received this
email in error, and that any use, dissemination, forwarding, printing, or
copying of this email is strictly prohibited. If you received this email in
error, please immediately notify [Email address protected]
This message has been scanned by Panda Anti-Virus. Recipients are advised to
apply their own virus checks to this message on delivery.
**********************************************************************
DB2 & UDB email list listserv db2-l LazyDBA home page