My Oracle Support Banner

EGL9.2:UPD28027781.DMS in Image 28 Fails on SQL Server (Doc ID 2447371.1)

Last updated on SEPTEMBER 04, 2020

Applies to:

PeopleSoft Enterprise FIN General Ledger - Version 9.2 to 9.2 [Release 9]
Information in this document applies to any platform.
*** Checked for currency on 09/01/2020 ***

Symptoms

Issue:

Applying maintenance from Image 28, in Change Assistant while running data mover UPD28027781.DMS a step failed with the following error:

ERROR
-----------
SQL Error. Error Position: 0 Return: 8601 - [Microsoft][ODBC Driver 11 for SQL Server][SQL Server]Incorrect syntax near 'A'.
[Microsoft][ODBC Driver 11 for SQL Server][SQL Server]Statement(s) could not be prepared. (SQLSTATE 37000) 8180
DELETE FROM PSPTSF_ATTRS A WHERE NOT EXISTS (SELECT 'X' FROM PSPTSF_SD_ATTR B WHERE B.PTSF_SRCATTR_NAME=A.PTSF_SRCATTR_NAME)
Error: SQL execute error for DELETE FROM PSPTSF_ATTRS A WHERE NOT EXISTS (SELECT 'X' FROM PSPTSF_SD_ATTR B WHERE B.PTSF_SRCATTR_NAME=A.PTSF_SRCATTR_NAME)

This is because a DELETE in SQL Server cannot have an alias (A). The SQL needs to look like this:
DELETE FROM PSPTSF_ATTRS WHERE NOT EXISTS (SELECT 'X' FROM PSPTSF_SD_ATTR B WHERE B.PTSF_SRCATTR_NAME=PSPTSF_ATTRS.PTSF_SRCATTR_NAME)

STEPS
-----------------------
The issue can be reproduced at will with the following steps:
In Change Assistant applying Image 28, while running data mover UPD28027781.DMS

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!


In this Document
Symptoms
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.