Compacting a SQL Server 2000 CE 2.0 database or a SQL Server 2005 Mobile Edition database by using Visual Basic .NET (814850)
The information in this article applies to:
- Microsoft SQL Server 2000 Windows CE Edition 2.0
- Microsoft Visual Studio .NET (2003), Enterprise Architect Edition
- Microsoft Visual Studio .NET (2003), Enterprise Developer Edition
- Microsoft Visual Studio .NET (2003), Professional Edition
- Microsoft SQL Server 2005 Mobile Edition
SUMMARYThis article contains a sample program that was developed in
Microsoft Visual Basic .NET for compacting a Microsoft SQL Server 2000 Windows
CE Edition (SQL Server CE) 2.0 database file or a SQL Server 2005 Mobile Edition database file. The sample program, CompactDB.exe,
uses the SqlCeEngine.Compact method to compact the SQL Server CE database. You can use
CompactDB.exe to compact a SQL Server CE or SQL Server 2005 Mobile Edition database in suspect mode.
REFERENCES
For additional information, click the following article number to view the article in the Microsoft Knowledge Base:
306452
FIX: SQL Server CE eMbedded Visual Basic CompactDatabase unable to fix corrupted database
For more information about compacting SQL
Server CE databases, visit the following Microsoft Web site:
Modification Type: | Minor | Last Reviewed: | 11/1/2005 |
---|
Keywords: | kbdownload kbSample kbSysAdmin kbEmulation kbDefrag kbDatabase kbinfo KB814850 kbAudDeveloper |
---|
|