Home Page for the TeradataForum

Archives of the TeradataForum

Message Posted: Thu, 05 Oct 2000 @ 21:12:41 GMT

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

Subj:   Re: Functions of dates!
From:   David Hough

Try: add_months((anydate-extract(day from anydate)+1),1)-1

This computes the first day of the month, adds one month, then backs up one day.

  <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