Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 SQL Server Administration (2000)
 data file

Author  Topic 

amy
Starting Member

30 Posts

Posted - 2002-06-17 : 15:03:21
How do I increased more site for the data file?

Thanks

robvolk
Most Valuable Yak

15732 Posts

Posted - 2002-06-17 : 15:44:22
ALTER DATABASE myDatabase MODIFY FILE (NAME=filename, SIZE=newsize)

The filename portion must be the physical data file name, including the full path. The size portion, for example, would be listed as "100MB" for a 100 megabyte data file size.

The ALTER DATABASE command is fully documented in Books Online.

Go to Top of Page

amy
Starting Member

30 Posts

Posted - 2002-06-17 : 17:29:38
Thanks

That command just work only when you new # is lager then orginal # but what I want is new # is smaller because I want to reduce the size not increase the size of the database
than orginal # and it won't let me do it

Thanks

Go to Top of Page

robvolk
Most Valuable Yak

15732 Posts

Posted - 2002-06-17 : 17:42:49
http://www.sqlteam.com/forums/topic.asp?TOPIC_ID=16877

Go to Top of Page
   

- Advertisement -