试题详情

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

Aalter table Student add check(age>=18 and age<=28)

Balter table Student add default(age>=18 and age<=28)

Calter table Student add unique(age>=18 and age<=28)

Dalter table Student add set(age>=18 and age<=28)