Quantcast
Channel: Teradata Forums - All forums
Viewing all articles
Browse latest Browse all 27759

Need to calculate days - response (1) by ulrich

$
0
0
Why do you expect 7/1/2010 if you go back 26 month from 8/31/2012? I would expect 6/30/2012 which you get via   select cast('2012-08-30' as date) as base_dt,        add_months(base_dt+1,-26)  

Viewing all articles
Browse latest Browse all 27759

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>