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



On 9/9/2013 12:44 PM, Vern Hamberg wrote:
Someone else mentioned doing the totals with some reporting tool. Otherwise, you have to use some "interesting" value like 9,999,999 to get the sort right when doing a UNION SELECT - and in this case, you couldn't use a true date data type.

If that happens, one can add a new column to both tables - detail/total.
Put a D in detail, a T in total, order by total, real_date_column and
Bob's your even uglier uncle :-)

Query management queries and forms are a good tool for this and are included on any box that has STRSQL. Otherwise, you can look at products like SEQUEL and a few others. Of course, good old Query for IBM i can do it, too. But you don't get the nice SQL SELECT statement capability.

Hear, hear.
--buck


As an Amazon Associate we earn from qualifying purchases.

This thread ...


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.