Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Fri, 06 Apr 2012 @ 13:45:37 GMT


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


Subj:   Re: Difference in table creation.
 
From:   Dave Wellman

Hi,

What sort of differences are you thinking of?

The "create table as" syntax allows you to

- clone an existing table

- create a table based on the results of a SELECT

- populate the table with data

- copy existing stats from the source table (I think only if you clone a table)

The "create table as" syntax does not allow you to add RI constraints.


Cheers,

Dave

Ward Analytics Ltd - Information in motion (www.ward-analytics.com)



     
  <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: 23 Jun 2019