Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Tue, 22 Jan 2008 @ 22:24:34 GMT


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


Subj:   Re: Create a Table sourced from a complex view
 
From:   Baker, Andy

u need to use a select expression - also suggest you nominate a PI explicitly

     create TABLE  db832.table1_xxx   /*** would like to use a subset of
     columns from complex_view ***/
     AS
     (
     select col1,col2 from db832.complex_view
     )
     WITH NO DATA
     primary index(picol1,picol2)
     ;


     
  <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: 15 Jun 2023