Database Administration (MOSC)

MOSC Banner

unique index vs primary key constraint

edited Sep 2, 2009 6:39AM in Database Administration (MOSC) 2 commentsAnswered
 Hi

Is there any difference between a primary key constraint and a unique index other then the syntatical change?

Is --> "create unique index ......" same as "alter table add constraint primary key...."

what is oracle's recommendation on as to what is the best method out of the 2?

thanks

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center