您好,欢迎来到三六零分类信息网!老站,搜索引擎当天收录,欢迎发信息

Oracle 基础

2024/3/27 11:39:08发布14次查看
删除了约束,索引还在,本来就是借用的索引????? 这句话,,我无从理解,, 语句是这样的,, sql create table t (id int, name char(10)); insert into t values (1, 'sohu'); sql create index t_idx on t(id); alter table t add constraint pk_id
删除了约束,索引还在,本来就是借用的索引?????
这句话,,我无从理解,,
语句是这样的,,
sql>
create table t (id int, name char(10));
insert into t values (1, 'sohu');
sql> create index t_idx on t(id);
alter table t add constraint pk_id primary key (id);
alter table t drop constraint pk_id;//为什么 删除了约束,索引还在 。又为什么   借用的索引
该用户其它信息

VIP推荐

免费发布信息,免费发布B2B信息网站平台 - 三六零分类信息网 沪ICP备09012988号-2
企业名录 Product