John Dunn�����ã�
      u can use a clause in the create table command to specify the details of the 
primary key,or alter table to add constraint ,using index clause to specify the detail 
about the index.
for example:
sql>create table pk
        (name char(8),
         age  number);
sql> alter table pk add constraint pk1  primary key (name)
 using index
 tablespace system;
or in create table command:
SQL> create table pk
  2  (name char(8) primary key using index tablespace system,
  3   num  number);
this also works.
        


�� 2001-2-6 0:42:00 �����
>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).

                    ��
��

            chaos
            [EMAIL PROTECTED]


--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author: chaos
  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