Hi Duane,
You can certainly set the Date format on your SQL in ACS
This is part of the JDBC configuration.
Once you are connected, you go to Connection-> Connected - <name> -> Edit
JDBC Configuration <name>
you then get a tabbed preferences dialog. Go to the format tab and then
change the date format and hit Save
______________________________________________________________________________________
Edmund Reinhardt
905-413-3125
IBM Canada Ltd Rational Developer for i Access Client Solutions
Architect
[1]
https://www.linkedin.com/in/edmundreinhardt/ [2]
http://ibm.biz/rdi_hub [3]
http://ibm.biz/IBMi_ACS
----- Original message -----
From: Duane Scott <dscott@xxxxxxxxxxx>
Sent by: "WDSCI-L" <wdsci-l-bounces@xxxxxxxxxxxxxxxxxx>
To: "WDSCI-L@xxxxxxxxxxxxxxxxxx" <WDSCI-L@xxxxxxxxxxxxxxxxxx>
Cc:
Subject: [EXTERNAL] [WDSCI-L] Date Format in SQL
Date: Thu, Dec 10, 2020 10:48 AM
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.
--
This is the Rational Developer for IBM i (WDSCI-L) mailing list
To post a message email: WDSCI-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: [4]
https://lists.midrange.com/mailman/listinfo/wdsci-l ;
or email: WDSCI-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at [5]
https://archive.midrange.com/wdsci-l ;.
Help support midrange.com by shopping at amazon.com with our affiliate
link: [6]
https://amazon.midrange.com ;
References
Visible links
1.
https://www.linkedin.com/in/edmundreinhardt/
2.
http://ibm.biz/rdi_hub
3.
http://ibm.biz/IBMi_ACS
4.
https://lists.midrange.com/mailman/listinfo/wdsci-l
5.
https://archive.midrange.com/wdsci-l
6.
https://amazon.midrange.com/
As an Amazon Associate we earn from qualifying purchases.