create database Test on primary ( name=test_data,filename='f:\shujukufile\test_data.mdf',size=6,create database Teston primary(name=test_data,filename='f:\shujukufile\test_data.mdf',size=6,maxsize=12,filegrowth=10%)log on(name=test_data,filename='f:\

来源:学生作业帮助网 编辑:六六作业网 时间:2024/12/21 12:25:29
createdatabaseTestonprimary(name=test_data,filename=''f:\shujukufile\test_data.mdf'',size=6,createdata

create database Test on primary ( name=test_data,filename='f:\shujukufile\test_data.mdf',size=6,create database Teston primary(name=test_data,filename='f:\shujukufile\test_data.mdf',size=6,maxsize=12,filegrowth=10%)log on(name=test_data,filename='f:\
create database Test on primary ( name=test_data,filename='f:\shujukufile\test_data.mdf',size=6,
create database Test
on primary
(
name=test_data,
filename='f:\shujukufile\test_data.mdf',
size=6,
maxsize=12,
filegrowth=10%
)
log on
(
name=test_data,
filename='f:\shujukufile\test_data.ldf',
size=2,
maxsize=6,
filegrowth=10%
)
消息 156,级别 15,状态 1,第 1 行
关键字 'on' 附近有语法错误.

create database Test on primary ( name=test_data,filename='f:\shujukufile\test_data.mdf',size=6,create database Teston primary(name=test_data,filename='f:\shujukufile\test_data.mdf',size=6,maxsize=12,filegrowth=10%)log on(name=test_data,filename='f:\
create database Test
on primary
(
name='test_data.mdf',
filename='f:\test_data.mdf',
size=6,
maxsize=12,
filegrowth=10%
)
log on
(
name='test_data.ldf',
filename='f:\test_data.ldf',
size=2,
maxsize=6,
filegrowth=10%
)
问题就出在name这个地方