Focal Point
Dates, Oracle, upgrade to 5.25

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/7321087331

May 19, 2004, 03:08 PM
Tom Walker
Dates, Oracle, upgrade to 5.25
We are testing programs that we migrated from 4.36 to 5.25, and encountered a problem. The code uses passthru SQL to oracle, and one of the fields selected is an Oracle Date format field. 4.36 recognizes this as YYMD. 5.25 declares this as HYYMDS, and subsequent defines that use this field fail.

What is HYYMDS? How can I get it back to YYMD with minimal code change? This impacts a ton of existing program code.
May 19, 2004, 03:17 PM
<Kyle>
In the 5.x release of the Reporting Server, the default for dates was changed from YYMD (date field) to HYYMDS (datetime field). You can manually changed the MFD from HYYMDS/HYYMDS (usage/actual) to YYMD/DATE (usage/actual). To change back to the old default, simply add the following line to your server profile (EDASPROF.PRF).

SQL SQLORA SET DATETIME OFF

Any new metadata (MFDs, masters, etc), will now be created with YYMD/DATE as the default usage/actual.
May 19, 2004, 03:27 PM
Tom Walker
Perfect!!
Thanks a million for the info.
March 15, 2005, 11:47 AM
webfocuspgm
Kyle,
I changed my edaprof and created a new master file description but it still has the HYYMDS. Is there something else I need to do .... ?

I need to be able to test for the following condition TERM_DATE EQ 2005/01/01 00:00:00AM...

Thanks in advance for any and all help....