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

Optimal Date selection - topic by Endlesscroc

$
0
0
Hi there! This is my first post so go easy! Where I work we have several tables which are run periodically (in this case monthly). I'm attempting to select information which comes from both the most recent and the second most recent entries, which occur on the last WORKING day of the month.  The common practice seems to be essentially join tables and then use code such as cus.period_dte/100 = add_months(appl_dte,-1)/100for example. I however decided today to try something different. Namely :

read more


Viewing all articles
Browse latest Browse all 27759

Trending Articles



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