请问在建表的时候如何来指定索引表空间?
能否举个例子呀?
谢谢!

解决方案 »

  1.   

    create index test on A (jtbh)
      tablespace ESCHS
      storage
      (
        initial 64K
        minextents 1
        maxextents unlimited
      );
      

  2.   

    创建所以时指定索引表空间
    CREATE INDEX idx_test ON Test(cBatch,cProcessDate,iFlag_Base) TABLESPACE Test_IDX NOLOGGING;
      

  3.   


    同意。介绍一个sqlplus的上下文帮助的文章
    http://bbs.inthirties.com/thread-47-1-1.html
      

  4.   

    现在你在sqlplus的环境里SQL>help create index;
    就可以看到create index的用法叻。
      

  5.   

    这个是csdn里的链接
    http://blog.csdn.net/inthirties/archive/2009/09/13/4547442.aspx
      

  6.   

    在创建表时,只能指定主键与唯一键的索引表空间,其它类型的索引,只能通过CREATE INDEX/ALTER INDEX来指定。create table test1
    (id number(10),
     name varchar2(20),
     age number(3),
     constraint pk_test1 primary key(id) using index tablespace tbs_ind
    )
    tablespace tbs_cur;