Home Page for the TeradataForum
 
 

 

Archives of the TeradataForum





Message Posted: Tue, 25 Feb 2003 @ 16:37:11 GMT





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




Subj:   Data extraction question
 
From:   Hayes, Jim M



Hello,

I am attempting to modify an existing BTEQ to extract 4 months worth of data.

The relevant part of the existing BTEQ looks like this:

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

What I want to do is to grab December and the previous 3 months as well.

Any suggestions?


TIA

Jim Hayes,
Delta Airlines, Network Analysis





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