My Oracle Support Banner

MSSQL: "Incorrect Syntax Near" Errors When Running Online Confirmation Statements. (Doc ID 2718024.1)

Last updated on JUNE 07, 2021

Applies to:

PeopleSoft Enterprise HCM Human Resources - Version 9.2 to 9.2 [Release 9]
Information in this document applies to any platform.

Symptoms

When attempting to run Benefits Confirmation Statements on MS SQL Server Database the following error occurs:

Return: 8601 - [Microsoft][SQL Server Native Client 11.0][SQL Server]Incorrect syntax near 'AND'.
[Microsoft][SQL Server Native Client 11.0][SQL Server]Statement(s) could not be prepared. (SQLSTATE 42000)

The issue can be reproduced at will with the following steps:
Benefits > Manage Automated Enrollment > Participant Enrollment > Online Confirmation Statements.
 

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.