Home Page for the TeradataForum
 
 

 

Archives of the TeradataForum





Message Posted: Wed, 08 Feb 2006 @ 18:27:50 GMT





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




Subj:   Re: Optimizer won't use PPI
 
From:   Yonina.Schuchman



We force dynamic partition elimination by equijoining the big PPI table to a calendar table and filtering on the calendar table.

     select * from bigtable a, calendartable b
     where a.da_trans=b.da_calendar
       and b.da_calendar between begindate and enddate;




     
  <Prev Next>   <<First <Prev Next> Last>>  
 
 
 
 
 
 
 
 
  
 
  Top Home Join Privacy Feedback  
 
 
Copyright for the TeradataForum (TDATA-L), Manta BlueSky 
Last Modified: 30 Jun 2008