如何用T-SQL语言在数据库中创建表
如何在已知数据库中创建表比如我已经在查询分析器中用SQL语言创建了一个数据库,那么如何在这个数据库中创建一个表呢?createdatabasescd2onprimary(...
如何在已知数据库中创建表比如我已经在查询分析器中用SQL语言创建了一个数据库,那么如何在这个数据库中创建一个表呢?
create database scd2
on primary
(
name = 'scd2',
filename = 'f:\scd2\scd2_data.mdf',
size = 10mb,
filegrowth = 10%
)
log on
(
name = 'scd2_log',
filename = 'f:\scd2\scd2_log.ldf',
size = 1mb,
maxsize = 5mb,
filegrowth = 10%
) 展开
create database scd2
on primary
(
name = 'scd2',
filename = 'f:\scd2\scd2_data.mdf',
size = 10mb,
filegrowth = 10%
)
log on
(
name = 'scd2_log',
filename = 'f:\scd2\scd2_log.ldf',
size = 1mb,
maxsize = 5mb,
filegrowth = 10%
) 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询