手机扫码访问

导航
您当前的位置:首页 > 计算机 > 等级考试
问题:

[选择题]关系数据库中,主键是(1___),主键的建立有(2___)种方法,当运用Transact-SQL语句创建主键时,可以是(3___)。

A、为标识表中唯一的实体

B、创建唯一的索引,允许空值

C、只允许以表中第一字段建立

D、允许有多个主键的

A、一

B、二

C、三

D、四

A、create table table1(column1 char(13) not null primary,column2 int not) on primary;

B、alter table table1 with notcheck add constraint [PK_table1] primary key nonclustered ( column1) on primary;

C、alter table table1 column1 primary key ;

D、alter table table1 column1  char(13)  primary key ;

答案解析:

相关问题
关于我们 | 用户指南 | 版权声明 | 给我留言 | 联系我们 | 积分商城 | 答案求助 | 网站地图
Copyright © 2020 www.daanwo.com All Rights Reserved