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

Dynamically Determine Date Range Based on System Date - forum topic by geo0071

$
0
0

Hello,
I am trying to schedule a report that will run on a monthly basis.  I am using Business Objects as the front end and Teradata as the backend database.  I would like to generate the date range dynamically based on the system date.  I am enclosing an example of what I am trying to do below.  I have tried a few things so far, but it has not worked. Any assistance you could provide would be much appreciated.
calendar.first_day_of_month >= 1st day of last month minue 1 year (Example September 01, 2012)
calendar.first_day_of_month <= the last day of the last month (Example August 31, 2013)

Thanks

Forums: 

Viewing all articles
Browse latest Browse all 14773

Trending Articles



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