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: Primary Constraints and Indexes

RE: Primary Constraints and Indexes

From: Shakeel Qureshi <msklq_at_yahoo.com>
Date: Fri, 12 Jan 2001 11:22:47 -0800 (PST)
Message-Id: <10739.126548@fatcity.com>


When you declare pk or uk constraint at the time of table creation the system automatically creates an index when the table is created. However, if you add with the constraint syntax like "using index tablespace", it means that the system generated index should be created on tablespace named INDEX, which is equally good like any other index for data search. However, if you want you can drop this index and create a new one with your own naming conventions and storage parameters.

Hope this clarifies the process.

Regards,

Shakeel Qureshi
DBA (Oracle Certified)
squeshi_at_barpoint.com

Received on Fri Jan 12 2001 - 13:22:47 CST

Original text of this message

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