Click here to Skip to main content
15,894,907 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
hi please give me solution for i want to create a table that has
non -clustered index on primary key column in oracle?
how we can achieve this please give me solution
Posted
Comments
Kornfeld Eliyahu Peter 11-Jan-16 8:01am    
Do you mean to use the same field as part of PK (clustered?) and part of an other (non-clustered) index?
Member 10192073 11-Jan-16 19:46pm    
like in SQL Server
Create Table tblTest
(
Field1 int not null primary key nonclustered,
Field2 varchar(30),
Field3 int null
)

i want to create a table in oracle that primary key column will be non-clustered.

1 solution

The idea of clustered/non-clustered indexes of SQL is not implemented in Oracle...There are 'Index-Organized Tables' that serve the same purpose (but not identical)...
To learn about it, read here...
constraint[^]
Managing Index-Organized Tables[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900