单选题 在SQL Server中,已知Student表中有一个age列,数据类型是int,如果要限制该列的取值范围在18到28之间,可以使用以下()语句

A、 alter table Student add check(age<=18 and age>=28)
B、 alter table Student add default(age<=18 and age>=28)
C、 alter table Student add unique(age<=18 and age>=28)
D、 alter table Student add set(age<=18 and age>=28)
下载APP答题
由4l***re提供 分享 举报 纠错

相关试题

单选题 在SQL Server中, 下列()语句用于事务回滚

A、rollback
B、commit
C、rollback transaction
D、commit transaction

单选题 在E-R图中,实体、属性和关系分别用()来表示

A、矩形、菱形、椭圆
B、矩形、椭圆、菱形
C、菱形、椭圆、矩形
D、椭圆、矩形、菱形

单选题 在SQL Server中,定义存储过程的输出参数时,要在参数后使用()关键字

A、default
B、output
C、input
D、with

单选题 在SQL Server中,系统存储过程以()为前缀

A、@@
B、@
C、sp_
D、up_

单选题 在SQL Server中,T-SQL的输出语句是()

A、print
B、write
C、select
D、set

单选题 在SQL Server中,删除表中数据的SQL语句是()

A、delete
B、drop
C、clear
D、remove

单选题 在SQL Server中 ,( )语句作为批处理的结束标志

A、RETURN
B、QUIT
C、GO
D、EXIT

单选题 在SQL Server中,创建表的SQL语句是()

A、create schema
B、create table
C、create view
D、create index