Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Wed, 06 Aug 2003 @ 21:42:32 GMT


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


Subj:   Re: Moving Data Due to PI Restructuring
 
From:   Pugliesi, Anthony J

Dave & Mike:

I believe you can avoid the transient journaling after the first insert by coding it:

INSERT INTO ....
SELECT......
;INSERT INTO .....
SELECT.....
;INSERT INTO....
SELECT....
;

Notice the there is no space between the semicolon and the INSERT keyword. Teradata treats all of this as an insert into an empty table. I am not sure how the space issue is handled though. If spool is released when it hits the semicolon you are probably good to go!

Just a thought,

Tony



     
  <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