DB2 version is 9.7.0.7
I have a flat file, and need to validate fully prior to insert into a production table. For analysis, I\'ve parsed it into a table where all
You can do it with the PureXML extension as follows:
PureXML
SELECT XMLCAST(XMLQUERY('string($D) castable as xs:date' PASSING mycolumn as D ) AS INT) FROM mytable
which will return 1 or 0.