Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> Re: Creating indexes in seperate tablespace

Re: Creating indexes in seperate tablespace

From: Arul kumar <rakumar_at_mahindrabt.com>
Date: Tue, 06 Feb 2001 02:55:46 -0800
Message-ID: <F001.002ABBE6.20010206021522@fatcity.com>

Hi John,
Here is the answer:
CREATE TABLE salgrade
   ( grade  NUMBER  CONSTRAINT pk_salgrade

                   

PRIMARY KEY
                   

USING INDEX TABLESPACE users_a,
     losal  NUMBER,
     hisal  NUMBER )
   TABLESPACE human_resource
   STORAGE (INITIAL     6144

         NEXT       

6144
         MINEXTENTS    

1
         MAXEXTENTS    

5 );
regards,
Arul.
John Dunn wrote:
We have tables with primary keys, which result in indexes being created. We
do not explicitly create indexes.
How can I ensure that indexes are created in a seperate tablespace from the
tables?
Can I specify this in the create table statement? Oracle version is 8.1.6
John
--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author: John Dunn
  INET: john.dunn_at_sefas.co.uk
Fat City Network Services    -- (858) 538-5051 
FAX: (858) 538-5051
San Diego, California        --
Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You
may
also send the HELP command for other information (like subscribing).
Received on Tue Feb 06 2001 - 04:55:46 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US