![]()  |  
 
 
 | 
Archives of the TeradataForumMessage Posted: Wed, 08 Feb 2006 @ 18:27:50 GMT
 
 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;
 
 
 
 
  | ||||||||||||||||||||||||||||||||||||||||||||||||
|   | ||||||||||||||||||||||||||||||||||||||||||||||||
 
  | ||||||||||||||||||||||||||||||||||||||||||||||||
|  
 | ||||||||||||||||||||||||||||||||||||||||||||||||
| Copyright 2016 - All Rights Reserved | ||||||||||||||||||||||||||||||||||||||||||||||||
| Last Modified: 15 Jun 2023 | ||||||||||||||||||||||||||||||||||||||||||||||||