欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页

数据库开发005创建多数据文件的数据库

程序员文章站 2022-05-28 11:44:26
...
create database Archive
on
primary
(name=arch1,
	filename='~\archdat1.mdf',
	size=3mb,
	maxsize=10mb,
	filegrowth=1mb
),
(name=arch2,
	filename='~\archdat2.ndf',
	size=3mb,
	maxsize=10mb,
	filegrowth=1mb
),
(name=arch3,
	filename='~\archdat3.ndf',
	size=3mb,
	maxsize=10mb,
	filegrowth=1mb
)
log on
(name=archlog1,
	filename='~\archlog1.ldf',
	size=1mb,
	maxsize=2mb,
	filegrowth=1mb
),
(name=archlog2,
	filename='~\archlog2.ldf',
	size=1mb,
	maxsize=2mb,
	filegrowth=1mb
)
go

 

相关标签: 数据库开发