Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Thu, 16 Jan 2003 @ 15:34:16 GMT


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


Subj:   Re: How to seperate tables?
 
From:   Doorey, Andrew ST

I would avoid using 'create table as select *' to create your new tables. This just creates a table based on the selected data and not on the DDL of the current table. The primary index will be the first column (unless you specify it), which may not be correct for all your tables. It's just as easy to run 'show table xxxx' on each of them and just change the databasename.

You can also use 'copy objects' in WinDDI to copy the DDL.



     
  <Prev Next>   <<First <Prev
Next>
Last>>
 
 
 
 
 
 
 
 
 
  
  Top Home Privacy Feedback  
 
 
Copyright for the TeradataForum (TDATA-L), Manta BlueSky    
Copyright 2016 - All Rights Reserved    
Last Modified: 27 Dec 2016