Drop Table

Support Forum for database administrators and web based access to important newsgroups related to databases
Register on Database Support Forum Edit your profileCalendarFind other Database Support forum membersFrequently Asked QuestionsSearch this forum -> 
For Database admins: Free Database-related Magazines Now Free shipping to Texas


Post New Thread










Thread
Author

RE: Unable to shrink database
Hi

If you could do it you would do it with alter database; sadly you can't you
can only grow a databases minimum size not reduce it. If the database is
bigger than the minimum size then you can shrink it with alter database
(using the size field)

If its smaller than the minimum size then the easiest thing to do is create
a new database with a smaller minimum size and copy  the tables/ code and
data to it; you can then restore this over the current database. There are
benefits in having a larger database as it doesnt need to grow as often whic
h
improves performance.

Chris



> I have a database file that is 3gb and all attempts to shrink it says you
> cannot shrink database beyond minimum limit 3gb. I have tried both shrink
> database and shrinkfile statements. Is there a way to overide the minimum
> limit? Any assistance will be very much appreciated. Thanks.

Report this thread to moderator Post Follow-up to this message
Old Post
Chris Hoare
12-01-06 12:14 AM


Sponsored Links





Last Thread Next Thread
Post New Thread

MS SQL Server archive

Show a Printable Version Email This Page to Someone! Receive updates to this thread
Microsoft SQL Server
Access database support
PostgreSQL Replication
SQL Server ODBC
FoxPro Support
PostgreSQL pgAdmin
SQL Server Clustering
MySQL ODBC
Web Applications with dBASE
SQL Server CE
MySQL++
Sybase Database Support
MS SQL Full Text Search
PostgreSQL Administration
SQL Anywhere support
DB2 UDB Database
Paradox Database Support
Filemaker Database
Berkley DB
SQL 2000/2000i database
ASE Database
Forum Jump:
All times are GMT. The time now is 08:31 PM.

 
Mobile devices forum | Database support forum archive




Copyrights DropTable.com Database Support Forum 2004 - 2006