E-SQR: On MS SQL 2012 Version SQR Reports Selecting DATETIME NULL Values Fail (Doc ID 1965875.1)

Last updated on MARCH 25, 2015

Applies to:

PeopleSoft Enterprise PT PeopleTools - Version 8.54 to 8.54 [Release 8.4]
Information in this document applies to any platform.

Symptoms

When attempting to run SQR Reports with datetime NULL values the following error occurs:

Error1:
-------
"(SQR 1915) Year cannot be zero."

 

Error2:
-------

"(SQR 1925) Month must be between 1 and 12"


Error3:

-------

"(SQR 1928) Hour must be between 0 to 23"



Steps
------
The issue can be reproduced at will with the following steps:

1.Login to PIA

2. Navigate to PeopleTools > Process Scheduler > System Process Requests

3. Create a new Run Cntrl Id or use an existing one

4. Run SQR Reports which perform selects with NULL DateTime value from MS SQL Server 2012 database


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