Error occurred during http request {"data":"","status":0,"config":{"method":"GET","transformRequest":[null],"transformResponse":[null],"url":"https://dgps.support.microsoft.com/api/v1/AutoSuggestion?SearchTerm=&OSName=Windows 8&Culture=en-us","headers":{"Accept":"application/json, text/plain, */*"},"startTime":1446705389987},"statusText":""} https://preview.support.microsoft.com/bundles/jslibraries?v=7zWNoRr1mHRbVzieg2FG-DPR0MvOgfYmV0WRO-0N0CM1:1 FIX: DBCC CHECKTABLE May Fail if Table has a Text/Image Column and Long Clustering Key

FIX: DBCC CHECKTABLE May Fail if Table has a Text/Image Column and Long Clustering Key

This article was previously published under Q286257
This article has been archived. It is offered "as is" and will no longer be updated.
BUG #: 58222 (SQLBUG_70)
Symptoms
When you execute a DBCC CHECKTABLE statement, the command may fail and the following error message occurs:
[Microsoft][ODBC SQL Server Driver][Named Pipes]ConnectionCheckForData(PeekNamedPipe()).
[Microsoft][ODBC SQL Server Driver][Named Pipes]Connection broken.
The error message occurs only if the following conditions are true:
  • A DBCC CHECKTABLE statement is executed on a table.
  • There are text or image columns in the table.
  • The clustering key for the table is at least 400 bytes long.
Workaround
To work around this problem:
  1. Script out all the objects from the affected database.
  2. Create a new database, and then execute the scripts from step 1 to create all the tables and other database objects.
  3. Use the bcp utility to copy the data out into flat files. Use the bcp utility to copy the data from the flat files into the scripted database that you created in step 2.
  4. Drop all the AUTO_CREATE_STATISTICS indexes from the new database.
Status
Microsoft has confirmed this to be a problem in SQL Server 7.0. This problem has been corrected in U.S. Service Pack 3 for Microsoft SQL Server 7.0. For more information, click the following article number to view the article in the Microsoft Knowledge Base:
274799 INF: How to Obtain Service Pack 3 for Microsoft SQL Server 7.0 and Microsoft Data Engine (MSDE) 1.0
For more information, contact your primary support provider.
Properties

Article ID: 286257 - Last Review: 11/02/2013 02:09:00 - Revision: 3.0

  • Microsoft SQL Server 7.0 Standard Edition
  • kbnosurvey kbarchive kbbug kbfix KB286257
Feedback