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.