Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Tue, 25 Feb 2003 @ 19:43:01 GMT


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


Subj:   Re: Data extraction question
 
From:   Anomy Anom

<-- Anonymously Posted: Tuesday, February 25, 2003 14:39 -->

Have you tried to do date calculations?

For instance SELECT ...WHERE (a.FLT_ORIG_DT/100+190000) BETWEEN 200209 and 200212;

The calculation is based on the numeric representation of a date in Teradata. date/100+190000 will give you the year multiplied by 100 plus the month. Could be little bit dangerous if they change the representation....



     
  <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