MIDRANGE dot COM Mailing List Archive



Home » MIDRANGE-L » May 2014

RE: can this reject bad data?



fixed

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?

<snip>
? huddle formats ? - I guess could be a table with rows like:
'2014-05-08',20140508,140508,050814,2014128
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...

D*B

--
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,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/midrange-l.






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

This mailing list archive is Copyright 1997-2014 by MIDRANGE dot COM and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available here. If you have questions about this, please contact