单项选择题下面哪个命令是将使“员工”数据库中的事务日志文件“员工数据库_log”的大小更改为3Mbyte()

A. MODIFY DATABASE 员工数据库 FILE(name=’ 员工数据库_log’,SIZE=3)
B. Alter DATABASE 员工数据库 MODIFY FILE(name=’ 员工数据库_log’,SIZE=3000000)
C. Alter DATABASE 员工数据库 MODIFY FILE(name=’ 员工数据库_log’,SIZE=3)
D. MODIFY DATABASE 员工数据库 MODIFY FILE(name=’ 员工数据库_log’,SIZE=3000000)


您可能感兴趣的试卷

你可能感兴趣的试题

1.单项选择题对于SQL SERVER数据库,下列叙述正确的是()

A. 主键约束只能用数据表中的一列数据来惟一标识数据库
B. 在数据表中存在主键相同的两行数据
C. 主键可以输入NULL值
D. 主键约束可使用数据表中的一列数据或多列数据来惟一地标识一行数据

3.单项选择题select count(*) from authors where city=’beijin’.对于上一条语句,下面表述是正确的()

A.从authors表中查询出city是beijin,且名为count的记录数目。
B.从authors表中查询出city 是beijin的第一条记录
C.从authors表中查询出city 是beijin 的所有记录
D.从authors表中查询出city是beijin的记录总数目。

4.单项选择题TRUNCATE TABLE 和 DELETE TABLE的区别是()

A.TRUNCATE TABLE 删除数据后可以恢复,而DELETE 不可以恢复
B.TRUNCATE TABLE 删除数据后不可以恢复,而DELETE 可以恢复
C.两者删除数据过后都可以恢复
D.两者删除数据后都不可以恢复

5.单项选择题从authors 数据库中查询出所有au_id满足前2个字符为”72”,第四个字符为”-“的作家的姓名,下面哪一条语句满足条件()

A.select * from authors where au_id =”72_-%”
B.select au_id=72_-% from authors
C.select * from authors where au_id like “72*-%”
D.select * from authors where au_id like “72_-%” _代表任意一个字符

6.单项选择题下面哪一条语句实现了下列功能:在authors数据库中查找所有姓名以d 打头的作家()

A. select * from authors where au_name=”d”
B. select “d” from authors
C. select * from authors where au_name like “d%”
D. select au_name like “d%” from authors

7.单项选择题select au_id from authors where price<$15 or price >$ 20.下面哪一条语句与这一条语句执行效果相同()

A. select au_id from authors where price IN($15,:$20);
B. select au_id from authors where price between $15 and $20
C. select au_id from authors where price not between $15 and $20
D. select au_id from authors where price not IN($15,$20);

8.单项选择题select au_id from authors where state=”ca” or state=”ks”.下面哪一条语句与这一条语句执行效果相同()

A. select au_id from authors where state IN(“ac”,:”sk”);
B. select au_id from authors where state between ac and sk
C. select au_id from authors where state not between ca and ks
D. select au_id from authors where state IN(“ca”,:”ks”);

9.单项选择题SQL SERVER 2000中,可以用下面哪一条语句把authors表重命名为表student()

A.sp_renamedb authors student
B.sp_rename  authors  student
C.sp_renamedata authors student
D.sp_renameview authors student

10.单项选择题SQL SERVER中,可以用下面哪一条语句查看表格authors和其他对象的依赖关系()

A.sp_spaceused authors
B.sp_depends authors
C.sp_help authors
D.sp_renamedb authors student