QUESTION POSED ON: 01 December 2008 How can you set up AS/400 SQL to fix this query:
Select SDATE from Library/file
DATE-HEADING
11/01/39
12/02/39
+++++++
++++++++
++++++++
AS/400 SQL does not handle dates > 2039
>
To eliminate this behavior, you must specify a date format (eg, *USA) that supports a 4-digit year value. Each DB2 for iSQL interface has a way to control the date format, for instance, the DATFMT parameter on the SQL precompiled commands.
Search and Browse the Expert Answer Center Search and browse more than 25,000 question and
answer pairs from more than 250 TechTarget industry experts.
TechTarget provides technology professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective purchase decisions and managing their organizations' technology projects - with its network of technology-specific websites, events and online magazines.