In one of our tables there is an existing non-clustered Primary Key on a UNIQUEIDENTIFIER
column, heavily used in FKs.
We now want to add an IDENTITY
column and create a unique clustered index for this.
I do not need an explanation of clustered vs. non-clustered or about "what is a primary key?".
I want to
IDENTITY
My question are:
Thank you!
- Will the new clustered index be used as look up key?
Yes the clustered key will be the look up key.
- Will the Primary Key use the clustered key?
Yes primary key always has a clustered index attached to it.
- What implications could be, using a clustered key and a non-clustered PK side by side?
This depends on the usage of your table and the associated columns.