Unix Technical Forum

Compact and Repair in an adp

This is a discussion on Compact and Repair in an adp within the SQL Server forums, part of the Microsoft SQL Server category; --> Hi, I just deleted about 1 million records from a SQL Server 2000 database. I access it using Access ...


Go Back   Unix Technical Forum > Database Server Software > Microsoft SQL Server > SQL Server

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 03-01-2008, 02:49 PM
JA
 
Posts: n/a
Default Compact and Repair in an adp

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~


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 03-01-2008, 02:49 PM
Ed Murphy
 
Posts: n/a
Default Re: Compact and Repair in an adp

JA wrote:

> 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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 03-01-2008, 02:49 PM
Erland Sommarskog
 
Posts: n/a
Default Re: Compact and Repair in an adp

JA (jarmour@kc.rr.com) writes:
> 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@sommarskog.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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
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
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 01:05 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
www.UnixAdminTalk.com