Home Page for the TeradataForum
 
 

 

Archives of the TeradataForum





Message Posted: Thu, 13 Dec 2001 @ 13:37:08 GMT





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




Subj:   Re: Performance optimization issue
 
From:   Geoffrey Rommel



  For an index on the date to be used the dates must be specified explicitly, that is not using between or > .  



This is not quite true. If you define your secondary index with ORDER BY VALUES, Teradata will use the index for small ranges. I have used this very technique on a large table with transaction dates, thus:

create index (transaction_date) order by values on table_name;





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