October 5, 2006 at 7:18 am
How do I expand the space allocated to a database that already exists?
October 5, 2006 at 7:39 am
Hi Mark,
Open the Enterprise Manager then Select the database -> Right Click on it -> Go to the Database properties -> Open the Data file Tab -> Change the alloted size to db.
You can also check the option of Autometic File Grow.
Thanks & Regards
Amit Gupta (MVP).
October 6, 2006 at 2:53 pm
Check BOL - ALTER DATABASE, SIZE MAXSIZE, GROWTH
and an example:
---
alter database master modify file
(name = master,
size = 25MB,
maxsize = 51MB,
filegrowth = 25MB)
go
checkpoint
go
alter database master modify file
(name = mastlog,
size = 25MB,
maxsize = 51MB,
filegrowth = 25MB)
go
checkpoint
go
---
RegardsRudy KomacsarSenior Database Administrator"Ave Caesar! - Morituri te salutamus."
Viewing 3 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic. Login to reply