Article ID: 279511 - Last Review: March 14, 2006 - Revision: 2.1 FIX: DBCC SHRINKFILE with Empty Option May Not Move Heap and Text PagesThis article was previously published under Q279511
BUG #: 57330 (SQLBUG_70)
SYMPTOMS
Executing a DBCC SHRINKFILE (data_filename, EMPTYFILE) command on a multifile database with mostly heap or text pages may not empty pages from the first extent of the data file. Hence, the file cannot be dropped after the shrink operation is completed using ALTER DATABASE.
CAUSE
The allocation code sometimes reallocates pages out of the first extent of a file that DBCC SHRINKFILE (data_filename, EMPTYFILE) was trying to clear.
WORKAROUND
There are two ways to work around this problem:
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
(http://support.microsoft.com/kb/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.
| Article Translations
|
Back to the top
