Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Tue, 21 Feb 2012 @ 09:31:48 GMT


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


Subj:   Re: Indexes on Timestamp Columns
 
From:   Mishra, Manish

Hi David,

You can try using 'AT' clause to define the Time Zone along with your timestamp partition definition and make you code deterministic, as recommended for TD 13:

Ex.

     Partition BY
        RANGE_N(Cast(TimStmp_data As DATE AT LOCAL) --Can also use hard coded time zone ex. '05:30'
        Between DATE '2011-01-01'
        AND Date     '2011-01-01'
        Each Interval '1' MONTH )

Hope this should help.


Regards,

Manish



     
  <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