Skip to Main Content

Oracle Database Discussions

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Creating a PK via Create Unique Index plus key OR via PK constrain only

119642Sep 16 2008 — edited Sep 16 2008
What is the "importance" of the following difference :-

Some of the PK indexes in the database I look after are scripted by creating a Unique index first and then adding the PK constraint with the syntax "using index"

Others just create the PK using the add primary key constraint syntax.

Is one way better than the other or where in the documentation would this be discussed? I can't find it discussed most probably looking in the wrong book.

Thanks in advance. Bill
This post has been answered by 561093 on Sep 16 2008
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 14 2008
Added on Sep 16 2008
3 comments
577 views