My Oracle Support Banner

Applicant Diversity Update Statement Error In Step #09 (Doc ID 2452750.1)

Last updated on SEPTEMBER 27, 2018

Applies to:

PeopleSoft Enterprise HCM Talent Acquisition Manager - Version 9.2 to 9.2 [Release 9]
Information in this document applies to any platform.

Symptoms

Receiving error in Applicant Diversity Update statement step #09. The UPDATE statement in MS SQL will not accept an alias, but Oracle DB does allow it.

ERROR
-----------------------
SQL error. Function: SQLExec

 Error Position: 0

 Return: 0 - [Microsoft][ODBC Driver 13 for SQL Server][SQL Server]Incorrect syntax near 'T1'.
[Microsoft][ODBC Driver 13 for SQL Server][SQL Server]Incorrect syntax near the keyword 'SET'.
[Microsoft][ODBC Driver 13 for SQL Server][SQL Server]Incorrect syntax near t

 Statement: Original Statement: UPDATE PS_HRS_PG_DIV_OV t1 SET (JOBCODE_DESCR, POSN_DESCR, RECRUITER_NAME, MANAGER_NAME, BUSINESS_DESCR) = (SELECT t2.JOBCODE_DESCR, t2.POSN_DESCR, t2.RECRUITER_NAME, t2.MANAGER_NAME, t2.BUSINESS_DESCR FROM PS_HRS_PG_DA_OFFER t2 WHERE t1.HRS_PERSON_ID = t2.HRS_PERSON_ID AND t1.HRS_RCMNT_ID = t2.HRS_RCMNT_ID) WHERE EXISTS (SELECT 1 FROM PS_HRS_PG_DA_OFFER t2 WHERE t1.HRS_PERSON_ID = t2.HRS_PERSON_ID AND t1.HRS_RCMNT_ID = t2.HRS_RCMNT_ID)

SQL Error in Compile. (2,277) HRS_PG_DA.MAIN.GBL.default.1900-01-01.Step09.OnExecute PCPC:2135 Statement:9

Process 702669 ABENDED at Step HRS_PG_DA.MAIN.Step09 (PeopleCode) -- RC = 8 (108,524)

Process %s ABENDED at Step %s.%s.%s (Action %s) -- RC = %s



STEPS
-----------------------
The issue can be reproduced at will with the following steps:
1. Navigation:Recruiting > Administration > Refresh Diversity Analytics > Run HRS_PG_DA

Changes

 

Cause

To view full details, 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 a vibrant support community of peers and Oracle experts.