|
I have a problem with date value from a Resultset which is returned from an SQL procedure, the date value is corrupt and all the fields and records after the first date value also contain corrupt data. I run a JDBC Sql statement from Java calling an sql procedure, using com.ibm.as400.access.AS400JDBCDriver driver. The table on my iSeries contains 4 fields: 2 integer field, a date field and a sting field. The value of the date fields in the table is 2005-11-28. If I call the same sql procedure from the iSeries Navigator, the resultSet returns correct data and if I execute the same query, as the sql procedure contains, from a Java code (not using the sql procedure) the result is correct. Does anyone have an idea what is the solution for this problem? Thanks in advance, Lara
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.