Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Tue, 05 Aug 2014 @ 23:16:00 GMT


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


Subj:   Re: Secondary Index usage (with Sub-select)
 
From:   Anomy Anom

<-- Anonymously Posted: Tuesday, August 05, 2014 16:59 -->

Try using the subquery as a derived table and do INNER JOIN instead of IN.

Use the sub-select to populate a volatile table, then reference the volatile table in place of the subquery (either for IN or for INNER JOIN).



     
  <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