Home Page for the TeradataForum
 
https:

Archives of the TeradataForum

Message Posted: Wed, 11 May 2016 @ 12:55:50 GMT


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


Subj:   AT INTERVAL in Teradata Temporal Table Recommended Partitioning Expression
 
From:   Anomy Anom

<-- Anonymously Posted: Wednesday, May 11, 2016 07:58 -->

Hi All,

How does PARTITION 1 differ from PARTITION 2:

     PARTITION 1: (Reference: "Temporal Table Support (Release 14.0)"; page 84)

     PARTITION BY CASE_N(
        END(ValidTimeColumn) >= DATE AT INTERVAL '-12:59' HOUR TO MINUTE,
        NO CASE
     )

This uses DATE AT INTERVAL -'12:59' HOUR TO MINUTE

     PARTITION 2

     PARTITION BY CASE_N(
        END(ValidTimeColumn) >= DATE - 1,
        NO CASE
     )

This uses DATE - 1

Thank you.


Best regards,

Anomy



     
  <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: 24 Jul 2020