From zhuchaopku@263.net Tue, 06 Feb 2001 03:40:57 -0800 From: chaos Date: Tue, 06 Feb 2001 03:40:57 -0800 Subject: Re: Creating indexes in seperate tablespace Message-ID: MIME-Version: 1.0 Content-Type: text/plain 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: john.dunn@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@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). Ö Àñ£¡ chaos zhuchaopku@263.net -- Please see the official ORACLE-L FAQ: http://www.orafaq.com -- Author: chaos INET: zhuchaopku@263.net 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@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).