Article ID: 308126 - View products that this article applies to.
This article was previously published under Q308126
This article has been archived. It is offered "as is" and will no longer be updated.
BUG #: 101917 (SQLBUG_70)
If an insert operation fails with error 2627 on a nonclustered unique index, the sysindexes.rowcnt field (and sysindexes.rows field) may be decremented. This problem occurs when the following conditions are met:
When you perform an insert operation on a table that contains a clustered index, if the clustered index is not violated, the insert is done, the maintenance of the nonclustered index is done, and the insert then fails during the update of the nonclustered index. During the partial rollback, the changes are not correctly maintained. The row deletion is kept but the initial row insertion is not, so the subsequent update just modifies the sysindexes.rowmodctr column.
To resolve this problem, obtain the latest service pack for Microsoft SQL Server 7.0. For additional information, click the following article number to view the article in the Microsoft Knowledge Base:
301511NOTE: The following hotfix was created prior to Microsoft SQL Server 7.0 Service Pack 4.
(http://support.microsoft.com/kb/301511/EN-US/ )INF: How to Obtain the Latest SQL Server 7.0 Service Pack
The English version of this fix should have the following file attributes or later:
NOTE: Because of file dependencies, the most recent hotfix or feature that contains the preceding files may also contain additional files.
Date Version Size File name Platform ---------------------------------------------------------------- 04-AUG-2001 7.00.1004 5,054,736 Sqlservr.exe x86 14-JAN-2001 7.00.978 586,000 Sqlsort.dll x86 04-AUG-2001 7.00.1004 11,641,616 Sqlservr.exe Alpha 14-JAN-2001 7.00.978 593,168 Sqlsort.dll Alpha
You can work around this problem in the following ways:
Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article. This problem was first corrected in Microsoft SQL Server 7.0 Service Pack 4.
Contact us for more help
Connect with Answer Desk for expert help.