Here are things that I learned doing the "less than elegant" SQL I wrote.
After coding with RPG for > 30 years, doing it with RPG would have been too easy. Even so, a production version of this tool would likely be a hybrid of RPG and SQL. Now that I learned a bunch of new techniques (you only see where I finally stopped, not the path of dead ends that got me there)...I'll likely just put the experience on the shelf...waiting for an appropriate requirement for one of the many things that I learned doing this task this way.
I’d do it again in exactly this way...for the challenge! The only difference will be that I will not share it here...it isn't worth it.
This mailing list archive is Copyright 1997-2015 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