DB Mangling fails with Msg 8152, Level 16, State 14, Line 1 for Microsoft SQL Server (Doc ID 2066188.1)

Last updated on JANUARY 30, 2017

Applies to:

Primavera P6 Enterprise Project Portfolio Management - Version 8.3.1.0 to 15.2.0.0 [Release 8.3 to 15.2]
Information in this document applies to any platform.

Symptoms

The Database Mangler script is not correctly mangling the database when run in the MSSQL Management Studio, and the following errors occur.

ERROR
-----------------------

Mangling ACTVCODE.ACTV_CODE_NAME
Msg 8152, Level 16, State 14, Line 1
String or binary data would be truncated.
The statement has been terminated.

Msg 8152, Level 16, State 14, Line 1
String or binary data would be truncated.
The statement has been terminated.

Mangling CURRTYPEX.ISBASECURRENCY
Msg 8152, Level 16, State 14, Line 1
String or binary data would be truncated.
The statement has been terminated.

Mangling FILTPROP.FILTER_NAME
Msg 8152, Level 16, State 14, Line 1
String or binary data would be truncated.
The statement has been terminated.

Mangling GCHANGE.GCHANGE_NAME
Msg 8152, Level 16, State 14, Line 1
String or binary data would be truncated.
The statement has been terminated.

Mangling PCATVALX.ISSECURECODE
Msg 8152, Level 16, State 14, Line 1
String or binary data would be truncated.
The statement has been terminated.

Mangling PROJCOSTX.OVERBUDGET
Msg 8152, Level 16, State 14, Line 1
String or binary data would be truncated.
The statement has been terminated.

Not Mangling PROJECTSPREAD.OBSNAME
Mangling PROJECTX.CONTAINSSUMMARYDATA
Msg 8152, Level 16, State 14, Line 1
String or binary data would be truncated.
The statement has been terminated.

Mangling PROJWBS.WBS_NAME
Msg 8152, Level 16, State 14, Line 1
String or binary data would be truncated.
The statement has been terminated.

Mangling RCATVALX.ISSECURECODE
Msg 8152, Level 16, State 14, Line 1
String or binary data would be truncated.
The statement has been terminated.

Mangling TASKRSRCX.AUTOCOMPUTEACTUALS
Msg 8152, Level 16, State 14, Line 1
String or binary data would be truncated.
The statement has been terminated.

Mangling TASKRSRCX.ISACTIVE
Msg 8152, Level 16, State 14, Line 1
String or binary data would be truncated.
The statement has been terminated.

Mangling TASKRSRCX.ISOVERTIMEALLOWED
Msg 8152, Level 16, State 14, Line 1
String or binary data would be truncated.
The statement has been terminated.

Mangling TASKRSRCX.ISPRIMARYRESOURCE
Msg 8152, Level 16, State 14, Line 1
String or binary data would be truncated.
The statement has been terminated.

Mangling TASKX.ISCRITICAL
Msg 8152, Level 16, State 14, Line 1
String or binary data would be truncated.
The statement has been terminated.


STEPS
-----------------------
The issue can be reproduced at will with the following steps:
1. Mangle an 8.3 database using the P6_R83\p6suite\database\scripts\common\SQL_Mangler_Script.sql
2. Notice the error


BUSINESS IMPACT
-----------------------
The issue has the following business impact:
Due to this issue, users cannot mangle the 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