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

May be I didn't follow up the complete thread, but in an SQL table a date
never has a date format.
A date is always stored in a 4 digit numeric value representing the number
of days since x (scaliger number).
Just check it with HEX(Mydate).

A date format only makes this numeric value readeable. Which date format is
used depends on the job where the date is shown.

In DDS a date format could be specified. This was neccessary to make the 4
digit binary value readeable in WRKF.

Mit freundlichen Grüßen / Best regards

Birgitta Hauser

"Shoot for the moon, even if you miss, you'll land among the stars." (Les
Brown)
"If you think education is expensive, try ignorance." (Derek Bok)
"What is worse than training your staff and losing them? Not training them
and keeping them!"

-----Ursprüngliche Nachricht-----
Von: midrange-l-bounces@xxxxxxxxxxxx
[mailto:midrange-l-bounces@xxxxxxxxxxxx] Im Auftrag von Reggie Acosta - El
Monte
Gesendet: Thursday, December 13, 2007 16:53
An: midrange-l@xxxxxxxxxxxx
Betreff: creating a table like a PF with the same record level id


David,

Might the date format be coming from the jobs DATFMT?

Maybe doing a SET OPTION DATFMT = *EUR is needed before the CREATE TABLE?

Reggie

from: David FOXWELL <David.FOXWELL@xxxxxxxxx> If I run a DSPFFD, I see

that a date zone has the format *ISO in the SQL tables. In the
original PF, it is *EUR.


As an Amazon Associate we earn from qualifying purchases.

This thread ...

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.