FIX: Unable to rebuild the partition online for a table that contains a computed partitioning column in SQL Server 2014 or 2016
Sadržaj koji pruža Microsoft
Microsoft SQL Server 2014 Enterprise
Microsoft SQL Server 2014 Enterprise Core
Microsoft SQL Server 2014 Standard
Microsoft SQL Server 2014 Service Pack 2
Microsoft SQL Server 2016 Developer
Microsoft SQL Server 2016 Enterprise
Microsoft SQL Server 2016 Enterprise Core
Microsoft SQL Server 2016 Standard
Assume that you have a partitioned table that contains a computed partitioning column which is marked as PERSISTED in Microsoft SQL Server 2014 or 2016, and then you rebuild the partition online. In this situation, you receive the following error message:
Msg 4819, Level 16, State 1, Line xx
Cannot bulk load. The bulk data stream was incorrectly specified as sorted or the data violates a uniqueness constraint imposed by the target table. Sort order incorrect for the following two rows: primary key of first row: (row number, DateTime), primary key of second row: (row number, DateTime).
The statement has been terminated.
This issue is fixed in the following cumulative updates for SQL Server:
Each new cumulative update for SQL Server contains all the hotfixes and all the security fixes that were included with the previous cumulative update. Check out the latest cumulative updates for SQL Server: