How shall the WHERE clause look for this challenge:
Pseudocode: select all records from file where datefield (ccyymmdd 8.0) shall be greater than todays month minus 36 months.
As you can see this may be expressed as [em]rolling 36 full months plusĀ current month[/em].
Any help will be apreciated.
Dan
Software/Hardware used:
9407/M15 V6R1M0
ASKED:
September 4, 2009 4:45 PM
UPDATED:
September 7, 2009 1:19 PM
Thanks Phil
Syntax works fine, BUT we’ll need to replace your last line with ’00′ to include transactions from 1.st of the month (ie full month).
Solution therefor is:
Dan