
Chapter 8. Cloning a database or a table 209
8.4.5 Change the database signature in the data file
Run the following command to replace the SAMPLE database signature with the
SAMPLE2 database signature within the data file:
db2ox -d SAMPLE2 -f SQL00014 -a
8.4.6 Place the new data file in the target database
Figure 8-13 and Figure 8-14 show how to manually copy the SQL00014.DAT file
and overwrite the data file in the SAMPLE2 database directory. For Windows the
default directory is C:\DB2\NODE0000\SQL00002\SQL0002.0, where
SQL00002 is the directory for the SAMPLE2 database and SQL0002.0 is the
table space directory.
Figure 8-13 DB2 Recovery Exper