This really isn't an RDi question. In SQL scripts if you click on the
Connection tab and select JDBC Configuration - Default you can go to the
Format tab and change the date format.

Jim Diephuis
IBM i Senior Managing Consultant
Lab Services Power Systems Delivery Practice
phone: 507.253.1248
e-mail: diephuis@xxxxxxxxxx





From: Duane Scott <dscott@xxxxxxxxxxx>
To: "WDSCI-L@xxxxxxxxxxxxxxxxxx" <WDSCI-L@xxxxxxxxxxxxxxxxxx>
Date: 12/10/2020 09:48 AM
Subject: [EXTERNAL] [WDSCI-L] Date Format in SQL
Sent by: "WDSCI-L" <wdsci-l-bounces@xxxxxxxxxxxxxxxxxx>



I've done a bit of research and cannot figure out how to change the
default date format for queries in Run SQL Scripts using RDI.

I'm used to ISO formats as the default, but somehow it's now set at
MM/DD/YY (MDY) and all my queries over a file with a "valid" date comes
back with a warning that there's and invalid date if the date field is
selected.

We use a date of '9999-01-01' to signify a non-ending enrollment period,
which is of course not a valid date for MDY format.

How did it change from ISO to MDY? And how do I change it back?

CONFIDENTIALITY NOTICE: This electronic message transmission is intended
only for the person or entity to which it is addressed and may contain
information that is privileged, confidential or otherwise protected from
disclosure. If you have received this transmission, but are not the
intended recipient, you are hereby notified that any disclosure, copying,
distribution or use of the contents of this information is strictly
prohibited. If you have received this e-mail in error, please contact NALC
Health Benefit Plan at 703-729-4677 and delete and destroy the original
message and all copies.


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.