This is sort of an RPG thing, but really more of a DB2 issue, which is why I posted it here.

Dave Odom ought to love this. It may have been discussed before, but I didn't find it. Anyway, if you declare a field in SQL as type INT, it is actually declared in DB2 as a 9B0 field. This is fine right up until the time you try to write a value over 999,999,999. For example: 1,198,368,000, which is the number of seconds between January 1, 2008 and January 1, 1970.

Such joy.

Joe

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

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.