Page 1 of 1

Date validating

PostPosted: Sun Oct 31, 2010 4:59 am
by reddy1122
HI

GDG file with records in it loads values in new DB2 tables, how to validate the date field that all the dates are loaded in correct format. Is there any sql query to validate dates and table.

Re: Date validating

PostPosted: Sun Oct 31, 2010 7:32 am
by dick scherrer
Hello and welcome to the forum,

Well, gdg files do not load data into tables. Non-gdg files also do not load data into tables. . .

Some utility or aplicaton code loads data into tables.

How are these particular tables being loaded? Depending on what is actually being done, the answer to your question will vary.

It will probably help if you show a few sample records/dates and the database fefinitions for thes columns (from the CREATE TABLE).