E-PC: Date Format changed the result of Sqlexec starting in 8.49.19 (Doc ID 1321004.1)

Last updated on NOVEMBER 22, 2016

Applies to:

PeopleSoft Enterprise PT PeopleTools - Version 8.50 and later
Information in this document applies to any platform.

Symptoms

Customer select date by following PeopleCode.

&SQL_String = "";
&SQL_String = &SQL_String | " SELECT ";
&SQL_String = &SQL_String | " %Dateout(CMPNY_SENIORITY_DT) ";
&SQL_String = &SQL_String | " FROM ";
&SQL_String = &SQL_String | " PS_ND_ENTERED_TRN ";
&SQL_String = &SQL_String | " WHERE EMPLID = '1463369' ";
SQLExec(&SQL_String, &DATE_CMPNY_SENIORITY_DT);



The result shows '2004-04-01' in PT8.50
Meanwhile, '01-APR-04' is retured in PT8.45
Both NLS_DATE_FORMAT are RR-MM-DD like '11-04-15'.

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms