|
<<SNIP>>
I have a file that was created using DDS. A new version was created
but a key field length was changed from 2 to 4. I have a java program
that queries that file using the jt400 toolkit. When I run a query
against the new file, I retrieve the ResultSet metadata to get the
field names and lengths. However, the metadata returned from the
query still gives the old length of the key field that was changed
from 2 to 4. If I change query slightly, the correct metadata is
returned. I believe it is the query optimizer that is returning the
incorrect metadata. How do I reset the query optimizer so that the
new metadata is returned for the query?
<<SNIP>>
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.