如何在创建表以及索引时的时候制定表空间,高高分紧急求助(100) 建立索引就可以指定存取在不同表空间关于约束的索引可以参考http://www.oradb.net/sql/sqlskill_004.htm 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 -- Create tablecreate table AMY.TEST( SSS NUMBER not null)tablespace USERS pctfree 10 pctused 40 initrans 1 maxtrans 255 storage ( initial 128K next 128K minextents 1 maxextents 4096 pctincrease 0 );-- Create/Recreate indexes create index AMYC.FDS on AMY.TEST (SSS) tablespace USERS pctfree 10 initrans 2 maxtrans 255 storage ( initial 128K next 128K minextents 1 maxextents 4096 pctincrease 0 ); --建表create table AMY.TEST( SSS NUMBER not null)tablespace USERS;--建索引create index AMYC.FDS on AMY.TEST (SSS) tablespace orther; 在table属性的Options页可以指定表所在的表空间。在table属性的Keys页和Indexes页,编辑各项目,然后在各项目属性的Options页设置主键或索引所在的表空间。 请教高手一个sql语句 问一个SQL语句的问题 请教,shutdown abort之后为什么不能做冷备份 如何进入自己创建的数据库,而不是全局数据库? SQL 太 长 问题 如何知道某一条记录是否被锁定? 没有接触过oracle,问一个简单的问题。 这个问题大家给个思路吧 如何建立一个小数据库? oracle启动问题 数据链的问题 ORACLE中如何用SELECT语句将查询结果保存成文本格式文件。急急急!!答对一定给分!!!
create table AMY.TEST
(
SSS NUMBER not null
)
tablespace USERS
pctfree 10
pctused 40
initrans 1
maxtrans 255
storage
(
initial 128K
next 128K
minextents 1
maxextents 4096
pctincrease 0
);
-- Create/Recreate indexes
create index AMYC.FDS on AMY.TEST (SSS)
tablespace USERS
pctfree 10
initrans 2
maxtrans 255
storage
(
initial 128K
next 128K
minextents 1
maxextents 4096
pctincrease 0
);
create table AMY.TEST
(
SSS NUMBER not null
)
tablespace USERS;--建索引
create index AMYC.FDS on AMY.TEST (SSS)
tablespace orther;
在table属性的Keys页和Indexes页,编辑各项目,然后在各项目属性的Options页设置主键或索引所在的表空间。