Thanks so much for your information. The database is iseries db2. The date field is just a number field in yyyymmdd format. I believe you would consider this a table lookup for the year, then lookup the currdate within the ranges in the file. The table has the fields year, date range. I want...
I have an accounting period table that has the year and then a date range for each period. The format of the table is yyyymmdd for the dates. I would like to query the table and take the currdate find the current year based on the currdate then pull in the date range the currdate is in for my...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.