Search found 2 matches

by Aanchal Sahu
Tue Feb 09, 2016 12:25 pm
Forum: IBM DB2 and IMS DB/DC
Topic: Unique column, unique index and priamry key use in DB2.
Replies: 3
Views: 520

Re: Unique column, unique index and priamry key use in DB2.

I did some study on this but I still hail the same confusion. Does anyone has good explantion about it? :twisted:
by Aanchal Sahu
Tue Feb 02, 2016 11:33 am
Forum: IBM DB2 and IMS DB/DC
Topic: Unique column, unique index and priamry key use in DB2.
Replies: 3
Views: 520

Unique column, unique index and priamry key use in DB2.

If I define a unique column in a DB2 columns why do we need to define a unique INDEX also in order to insert the values in the table? And when we have a unique INDEX why do we need a primary key, are they just not similar things?

Go to advanced search