LuoCore
https://zhidao.baidu.com/question/149116757.html
 
create database stuDB 
on  primary  -- 默认就属于primary文件组,可省略
(
/*--数据文件的具体描述--*/
    name=\'stuDB_data\',  -- 主数据文件的逻辑名称
    filename=\'D:\stuDB_data.mdf\'-- 主数据文件的物理名称
    size=5mb, --主数据文件的初始大小
    maxsize=100mb, -- 主数据文件增长的最大值
    filegrowth=15%--主数据文件的增长率
)
log on
(
/*--日志文件的具体描述,各参数含义同上--*/
    name=\'stuDB_log\',
    filename=\'D:\stuDB_log.ldf\',
    size=2mb,
    filegrowth=1mb
)

分类:

技术点:

相关文章: