为已建数据库增加辅助文件和日志文件

.

Alter DataBase MyDB1
ADD file
(    NAME='MyDB1FZ',
    filename='D:\DATA\MyDB1FZ.ndf',
    size=2mb,
    maxsize=10mb,
    filegrowth=1
)
Alter DataBase MyDB1
ADD log file
(    NAME='MyDB1LOG1',
    filename='D:\DATA\MyDBLOG1.ldf',
    size=1mb,
    maxsize=5mb,
    filegrowth=1
)

 

posted @ 2020-05-21 20:04  古比  阅读(1231)  评论(1编辑  收藏  举报