× 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.



IBM has embraced SQL on our platform as an industry standard.  I do not see
IBM making proprietary enhancements to SQL.  If anything, SQL is a lowest
common denominator statement for the platform,

Al

Al Barsa, Jr.
Barsa Consulting Group, LLC

400>390

914-251-1234
914-251-9406 fax

http://www.barsaconsulting.com
http://www.taatool.com






                      "Goodbar, Loyd
                      (AFS-Water                To:       
"'midrange-l@midrange.com'" <midrange-l@midrange.com>
                      Valley)"                  cc:
                      <LGoodbar@afs.bwau        Subject:  CYMD dates and SQL
                      to.com>
                      Sent by:
                      midrange-l-admin@m
                      idrange.com


                      08/02/2002 09:42
                      AM
                      Please respond to
                      midrange-l






This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.
--
[ Picked text/plain from multipart/alternative ]
Our ERP application uses *CYMD formatted dates (integer 7). So when we
select a date column using SQL, it's formatted as 1,020,802 (Aug 2, 2002).

I'm surprised that IBM doesn't have built-in SQL conversions for the CYMD
dates. I thought about using my earlier messages as a starting point, but I
ran into problems where the cymd date is before 2000 (0991231). The SQL
functions I tried dropped the leading zero, which in this case is
significant since it denotes the 20th century.

Has anyone come up with SQL procedures to convert a numeric CYMD to a real
date, and vice versa? The archives returned no results for "cymd date sql".

Thanks,
Loyd

--
Loyd Goodbar
Programmer/analyst
BorgWarner Incorporated
Air/Fluid Systems, Water Valley, MS

_______________________________________________
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@midrange.com
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/cgi-bin/listinfo/midrange-l
or email: MIDRANGE-L-request@midrange.com
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.








As an Amazon Associate we earn from qualifying purchases.

This thread ...


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.