Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Fri, 08 Dec 2006 @ 12:41:30 GMT


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


Subj:   Re: Partition elimination using substitution
 
From:   Anomy Anom

<-- Anonymously Posted: Friday, December 08, 2006 06:52 -->

Are you obligated to export the date out to a flat file?

What happens if you leverage the sys_calendar.calendar view?

     explain
     select *
     from staging.global_omniture_hit
        , sys_calendar.calendar
     where cast(omniture_date_time as date ) = calendar_date
       and calendar_date = date
     ;


     
  <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