Quantcast
Channel: Teradata Forums - Database
Viewing all articles
Browse latest Browse all 14773

Get last full 20 weeks with function ADD_MONTHS(date - EXTRACT(day FROM date) +0, 0) - response (4) by Nexsn

$
0
0

Hab mich nicht getraut auf deutsch zu schreiben weil ja englisches Forum :) - deshalb auch Englisch weiter.
thanks again for your help! at this time, I'm not into this database-thinking, I hope it will become better ;)
 
query works! for testing I replaced test-dates instead of current_date.
there is only 1 little problem i can fix on my own: i get the sunday before the first monday, i guess because the english time-calulation.
But it should be fixed easy with +1 .
danke nochmal und schönen tag :)
LG
Philip
 


Viewing all articles
Browse latest Browse all 14773

Trending Articles



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