I am working with a query tool and am having trouble formatting a field as a
date in a SQL Select statement. Here's what is going on. I have two files
from the iSeries. One has a date field that is defined as numeric 6.0 and
in YYMMDD format. The following code will output the date as MM/DD/YYYY
I believe I have the positions line up properly as the date doesn't actually
start until position 3 in the field. Are variable length fields handled
differently in SQL for what I am trying to do?
Fred Horvat
horvat@xxxxxxxx
216-426-5692
As an Amazon Associate we earn from qualifying purchases.
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.