FIX: An INSERT May Fail with a 3624 Error Message After a Failed Attempt to Add New Table Column (317852)
The information in this article applies to:
- Microsoft SQL Server 2000 (all editions)
This article was previously published under Q317852 SYMPTOMS A clustered index may be corrupted if all of the following
conditions are met: - You try to add a column to an existing table and in the
same transaction you add a foreign key reference from the new column to a
column that is a unique clustered or unique nonclustered index key on the same
table.
- The add column fails and the transaction is rolled
back.
After the transaction fails and is rolled back, an INSERT
statement to the same table may result in an error message similar to one of
the following: Server: Msg 3624, Level 20, State 1, Line
1 Location: recbase.cpp:1378 Expression: m_offBeginVar <
m_SizeRec SPID: 51 Process ID: 948 Connection Broken
[Microsoft][ODBC SQL Server
Driver][DBNETLIB]ConnectionCheckForData (CheckforData()). Server: Msg 11,
Level 16, State 1, Line 0 General network error. Check your network
documentation. Connection Broken
Additionally, if you try
to reindex the table by using a DBCC DBREINDEX statement, the following error
message occurs: Server: Msg 2727, Level 16, State 48,
Line 1 Cannot find index ''.
CAUSE The clustered index of the table is corrupted after the
failed add column attempt. DBCC CHECKDB does not detect or report this
particular scenario. RESOLUTION To resolve this problem, obtain the latest
service pack for Microsoft SQL Server 2000. For additional information, click
the following article number to view the article in the Microsoft Knowledge
Base: 290211 INF: How To Obtain the Latest SQL Server 2000 Service Pack WORKAROUND To work around this problem you can either:
STATUSMicrosoft
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
2000 Service Pack 3.
Modification Type: | Major | Last Reviewed: | 10/3/2003 |
---|
Keywords: | kbfix kbprb KB317852 kbAudDeveloper |
---|
|