Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Fri, 17 Jul 2015 @ 22:53:41 GMT


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


Subj:   CTE along with INSERT
 
From:   Bakthavachalam, Roopalini

Forum - Is it syntactically correct to use CTE along with INSERT like below?

     WITH CTE (a,b,c) as
     (Select a,b,c from table_1 )
     Insert into table_2
     Select * from CTE;

Thanks

Roopalini



     
  <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