dbTalk Databases Forums  

Compact and Repair in an adp

comp.databases.ms-sqlserver comp.databases.ms-sqlserver


Discuss Compact and Repair in an adp in the comp.databases.ms-sqlserver forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
JA
 
Posts: n/a

Default Compact and Repair in an adp - 04-04-2007 , 07:13 PM






Hi,

I just deleted about 1 million records from a SQL Server 2000 database. I
access it using Access 2000.

I have Compact and Repair available in the adp under Tools. Should I do that
from Access? Will it not mess anything up?

Thanks!

J~



Reply With Quote
  #2  
Old   
Ed Murphy
 
Posts: n/a

Default Re: Compact and Repair in an adp - 04-04-2007 , 10:41 PM






JA wrote:

Quote:
I just deleted about 1 million records from a SQL Server 2000 database. I
access it using Access 2000.

I have Compact and Repair available in the adp under Tools. Should I do that
from Access? Will it not mess anything up?
No idea. You can definitely use Query Analyzer to run a
DBCC SHRINKDATABASE command.

If you expect the database to grow back to its previous size and
stay there, then you shouldn't shrink it. If you expect it to
stay at its reduced size, then you should.


Reply With Quote
  #3  
Old   
Erland Sommarskog
 
Posts: n/a

Default Re: Compact and Repair in an adp - 04-05-2007 , 05:01 PM



JA (jarmour (AT) kc (DOT) rr.com) writes:
Quote:
I just deleted about 1 million records from a SQL Server 2000 database. I
access it using Access 2000.

I have Compact and Repair available in the adp under Tools. Should I do
that from Access? Will it not mess anything up?
To me that sounds like tools for the local Access database.

In any case, one million rows is not that much, unless the rows are
extremely wide.


--
Erland Sommarskog, SQL Server MVP, esquel (AT) sommarskog (DOT) se

Books Online for SQL Server 2005 at
http://www.microsoft.com/technet/pro...ads/books.mspx
Books Online for SQL Server 2000 at
http://www.microsoft.com/sql/prodinf...ons/books.mspx


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.