Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Tue, 25 Feb 2003 @ 19:15:42 GMT


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


Subj:   Re: Data extraction question
 
From:   David Wellman

How about...

      EXTRACT ( MONTH FROM A.FLT_ORIG_DT)  between 9 and 12
AND   EXTRACT ( YEAR FROM A.FLT_ORIG_DT) = 2002

...or...

      EXTRACT ( MONTH FROM A.FLT_ORIG_DT) >= 9
AND   EXTRACT ( YEAR FROM A.FLT_ORIG_DT) = 2002

...or...

      EXTRACT ( MONTH FROM A.FLT_ORIG_DT) in (9,10,11,12)
AND   EXTRACT ( YEAR FROM A.FLT_ORIG_DT) = 2002

Dave



     
  <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: 27 Dec 2016