- 5
- 0
- 约8.31万字
- 约 167页
- 2019-02-17 发布于湖北
- 举报
实验一 SQL Server 2008 基本服务和信息
一 实验目的
要求学生查看SQL Server 2008联机丛书的内容,了解SQL 的环境及基本操作,了解SQL的基本信息。
二 实验内容
查看书内容,环境并掌握其基本操作,服务器管理和注册
查看SQL的目录结构,利用SQL的基本系统视图查看相关信息。
三 实验指导
select * from sys.servers
where server_id=0
select * from sys.databases
select * from sys.filegroups
select * from sys.master_files
select * from sys.database_files
select * from sys.data_spaces
create table test
(
id int not null,
name char(100) null,
constraint pk_test primary key clustered ( id asc)
)
create nonclustered index ix_test on test(name)
select *
from sys.objects
where type_desc=user_table and name=test
select
原创力文档

文档评论(0)