Thank you for the extra detail.
I first saw a table like that in the NGS IQ Query product.
Others here created our "business date" table used for reports
like commissions for month, quarter, semi-annual, annual.
As you say: fast and stable

-----Original Message-----
From: MIDRANGE-L [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of D*B
Sent: Thursday, May 08, 2014 7:04 AM
To: Midrange Systems Technical Discussion
Subject: RE: can this reject bad data?

? huddle formats ? - I guess could be a table with rows like:
But, that does not seem to fit with: *some 1000 records for 100 years* </snip>

One year has max 366 valid dates => 100 years have < 36600 valid dates. One record for every valid date would be sufficient. For every crude format, you would have a seperate column (other columns could be there for quarter, day of week, business week, egg week, what ever you would need. Joining this to your tables will be very fast in all situations...


This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list To post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at

This thread ...


Return to Archive home page | Return to MIDRANGE.COM home page