Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Tue, 05 Jul 2005 @ 11:49:24 GMT


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


Subj:   Re: How to delete selectively
 
From:   Aananth.S

Dieter,

Just wanted a clarification. Is it working with DT coz the DT is being materialized in spool and the comparision with "some_table" in the delete statement takes place with the spool?

     Delete from some_table
     Where (col1, col2, col3) in
       (select *
        from
          (Select col1, col2, col3
            From some_table
            Sample 50) dt
        );

Thanks

Aananth



     
  <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