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: [EMAIL PROTECTED]

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: [EMAIL PROTECTED] (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).

Reply via email to