× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Interesting enough, every company I've been at already had a
"calendar" table of some sort...

Though it wasn't usually designed for SQL usage, need to add extra
fields and indexes; nor do i think the technique is familiar to most
RPG developers.

Joe Celko has some good articles (and books) that show examples of
using calendar tables.

Charles

On Fri, Jul 8, 2011 at 11:07 AM, Jon Paris <jon.paris@xxxxxxxxxxxxxx> wrote:

On Jul 8, 2011, at 9:38 AM, midrange-l-request@xxxxxxxxxxxx wrote:

  With so few acknowledgments on the use of calendar files, I was often
left wondering if the need to JOIN to a calendar file somehow was a
turnoff for many.

I think you are right. We've all been conditioned by "don't create too many tables" and even more to "Don't create too many logicals/indexes". For the most part the rationale behind these beliefs is long-since gone but it is hard to force them out of our brains. When I first came upon this I thought that it would be inefficient - but then saw how much easier the code was to understand and discovered that the performance was not an issue (particularly when compared with 2 or three nested function calls) and decided to give it a try.

Jon Paris

www.partner400.com
www.SystemiDeveloper.com




--
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.



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.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 on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.