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



George,

I hesitate to do this but I'm going to go ahead and add my .02 anyway.

While doing some SQL vs. native I/O benchmarks a few years ago we discovered incidentally that adding the %date BIF to convert a numeric field containing a date value to a date data type added 20 minutes to our processing. The test consisted of running over a few million records (don't remember the exact count now) and performing some simple calculations. While many shops don't routinely run batch processes over that many records it is very routine for us. As a result when needing to convert dates in a process that will run over a very large data set we avoid using the %Date BIF. If it is a interactive process or a small set of records using the %Date BIF is ok.

I have mentioned this before so searching the archives should bring up the conversation, and probably others about this topic.

Hope this helps.

Rick

-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of George Lopez
Sent: Tuesday, March 16, 2010 5:05 PM
To: RPG programming on the IBM i / System i
Subject: Re: Timestamp vs Date/time Decimal fields, Overhead in RPG programs...

Thank you for the response. Now it is just a matter of deciding by my IT manager if the new database fields date/time should now all be timestamp or still the old decimal.

Privileged and Confidential. This e-mail, and any attachments there to, is intended only for use by the addressee(s) named herein and may contain privileged or confidential information. If you have received this e-mail in error, please notify me immediately by a return e-mail and delete this e-mail. You are hereby notified that any dissemination, distribution or copying of this e-mail and/or any attachments thereto, is strictly prohibited.

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
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.