Wrox Programmer Forums
|
SQL Server 2000 General discussion of Microsoft SQL Server -- for topics that don't fit in one of the more specific SQL Server forums. version 2000 only. There's a new forum for SQL Server 2005.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the SQL Server 2000 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old December 6th, 2006, 12:17 PM
Friend of Wrox
 
Join Date: Oct 2006
Posts: 112
Thanks: 12
Thanked 0 Times in 0 Posts
Default increase DB size

Hi,
I would like to know why can't I increase the size of DB when I have 40gigs of free space left on my drive... the DB size is 8gigs...
Is it because when we created the DB we put the size to a number and it won't pass it now...

I really have no idea...
Can some help...

Thanking in advance...
Gino



 
Old December 7th, 2006, 01:25 AM
Registered User
 
Join Date: Dec 2006
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to ghemant
Default

Hi,
definately you can do this with alter database statement e.g.
USE master
GO
ALTER DATABASE Testdb
MODIFY FILE
   (NAME = TestDB,
   SIZE = 20MB)
GO

but why do you wants do this !? any specific reason!? And test this on development envrionment first as precasion.

With Regards
Hemantgiri S. Goswami
------------------------
"Humans don't have Caliber to PASS TIME , Time it self Pass or Fail Humans"  -Hemantgiri S. Goswami





Similar Threads
Thread Thread Starter Forum Replies Last Post
Increase size of image in button of Excel Toolbar padam Classic ASP Databases 0 August 11th, 2006 02:03 PM
increase caching size in Classic ASP page crmpicco Classic ASP XML 0 April 4th, 2006 11:28 AM
Can I Increase The Size Of The Document Window WalterD Dreamweaver (all versions) 2 February 19th, 2005 07:13 PM
How to increase the size of a text feild qazi_nomi Access 1 June 15th, 2004 03:30 AM
increase the size of the array Beulah ASP.NET 1.0 and 1.1 Basics 1 September 12th, 2003 08:54 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.