× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



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.

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.