修改数据库大小
(1)设置数据库文件为自动增长方式
(2)直接修改数据库文件的大小
(3)增加辅助数据库文件
(4)示例
CREATE DATABASE Test1 ON
(NAME = Test1dat1,
FILENAME = 'c:\Program Files\Microsoft SQL Server\MSSQL\Data\t1dat1.ndf',
SIZE = 5MB,
MAXSIZE = 100MB,
FILEGROWTH = 5MB )
GO
ALTER DATABASE Test1
ADD FILE
(NAME = Test1dat2,
FILENAME = 'c:\Program Files\Microsoft SQL Server\MSSQL\Data\t1dat2.ndf',
SIZE = 5MB,
MAXSIZE = 100MB,
FILEGROWTH = 5MB )