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 Privacy Feedback  
 
 
Copyright for the TeradataForum (TDATA-L), Manta BlueSky    
Copyright 2016 - All Rights Reserved    
Last Modified: 15 Jun 2023