My Oracle Support Banner

Siebel Upgrade Seed Data Step Fails With Incorrect syntax error near ‘50003’ or ‘50004’ or ‘50005’ and returns NULL as ROW_ID For SQL Statement exec tmp_daily_end_dt (Doc ID 2283365.1)

Last updated on SEPTEMBER 09, 2022

Applies to:

Siebel CRM - Version 16.13 [IP2016] and later
Information in this document applies to any platform.

Symptoms

When attempting to run upgrep step in Development or Production mode, the upgrep step fails when trying to upgrade data after seed import with below errors and execution of the SQL Statement with stored procedure "exec tmp_daily_end_dt" also fails with error as seen in upgwiz.log (Windows) or srvrupgwiz.log (UNIX)

DBCLog DBCLogError 1 0000000259561118:0 2017-07-01 00:48:08 [Microsoft][SQL Server Native Client 11.0][SQL Server]Incorrect syntax near '50003'.
UpgradeLog UpgradeError 1 0000000259561118:0 2017-07-01 00:48:08 [Microsoft][SQL Server Native Client 11.0][SQL Server]Incorrect syntax near '50003'.
SQLError Statement 0 0000000259561118:0 2017-07-01 00:48:08 SQL Statement:  exec tmp_daily_end_dt
DBCLog DBCLogError 1 0000000259561118:0 2017-07-01 00:48:08 [Microsoft][SQL Server Native Client 11.0][SQL Server]Incorrect syntax near '50004'.
UpgradeLog UpgradeError 1 0000000259561118:0 2017-07-01 00:48:08 [Microsoft][SQL Server Native Client 11.0][SQL Server]Incorrect syntax near '50004'.
SQLError Statement 0 0000000259561118:0 2017-07-01 00:48:08 SQL Statement: exec tmp_daily_end_dt
DBCLog DBCLogError 1 0000000259561118:0 2017-07-01 00:48:08 [Microsoft][SQL Server Native Client 11.0][SQL Server]Incorrect syntax near '50005'.
UpgradeLog UpgradeError 1 0000000259561118:0 2017-07-01 00:48:08 [Microsoft][SQL Server Native Client 11.0][SQL Server]Incorrect syntax near '50005'.
SQLError Statement 0 0000000259561118:0 2017-07-01 00:48:08 SQL Statement: exec tmp_daily_end_dt
DBCLog DBCLogError 1 0000000259561118:0 2017-07-01 00:48:08 [Microsoft][SQL Server Native Client 11.0][SQL Server]Cannot insert the value NULL into column 'ROW_ID', table 'SiebelDB.dbo.S_CAL_REPT_EVT'; column does not allow nulls. INSERT fails.
UpgradeLog UpgradeError 1 0000000259561118:0 2017-07-01 00:48:08 [Microsoft][SQL Server Native Client 11.0][SQL Server]Cannot insert the value NULL into column 'ROW_ID', table 'SiebelDB.dbo.S_CAL_REPT_EVT'; column does not allow nulls. INSERT fails.
SQLError Statement 0 0000000259561118:0 2017-07-01 00:48:08 SQL Statement: exec tmp_daily_end_dt
DBCLog DBCLogError 1 0000000259561118:0 2017-07-01 00:48:08 [Microsoft][SQL Server Native Client 11.0][SQL Server]The statement has been terminated.


STEPS
-----------------------
The issue can be reproduced at will with the following steps:
1. Upgrade from any of the lower versions to IP2017 or later
2. Make sure that the Development or Production upgrade mode is selected that initiates upgrep step
3. Check to see if the upgrep process completes without errors.

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!


In this Document
Symptoms
Changes
Cause
Solution


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