Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Thu, 23 Feb 2012 @ 20:30:43 GMT


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


Subj:   Re: Computing 3rd Saturday of the month
 
From:   Geoffrey Rommel

The 3rd Sat. of the month is always between 15 and 21 (think about it). So this would be better:

     WHERE DAY_OF_WEEK = 7
       AND DAY_OF_MONTH BETWEEN 15 AND 21


     
  <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: 23 Jun 2019