Home Page for the TeradataForum
 
 

 

Archives of the TeradataForum





Message Posted: Fri, 02 Feb 2007 @ 12:39:35 GMT





     
  <Prev Next>   <<First <Prev Next> Last>>  




Subj:   Re: How to dump all object definitions in a database
 
From:   Xu, Feng



Wehn,

You can save a copy of database by using arcmain tools.

The following example shows how to copy all objects in database DB_A into database DB_B.

1) dump the dictionary of DB_A

     archive dictionary tables (DB_A),release lock,file=xxxx;

2) restore the dictionary to DB_B

     copy dictionary tables (DB_B) (from (DB_A)),release lock,file=xxxx;

3) Build it and get all empty tables

     build data tables (DB_B),release lock;

Feng





     
  <Prev Next>   <<First <Prev Next> Last>>  
 
 
 
 
 
 
 
 
  
 
  Top Home Join Privacy Feedback  
 
 
Copyright for the TeradataForum (TDATA-L), Manta BlueSky 
Last Modified: 01 Sep 2008