Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2005 Forums
 SQL Server Administration (2005)
 NCI arhitecture

Author  Topic 

ravilobo
Master Smack Fu Yak Hacker

1184 Posts

Posted - 2008-05-20 : 10:03:45
The index key (pointer) of NCI, in tables having PK, contains PRIMARY KEY.

Is it true for tables not having PK, but having unique index?





------------------------
I think, therefore I am - Rene Descartes

sodeep
Master Smack Fu Yak Hacker

7174 Posts

Posted - 2008-05-20 : 10:24:33
You need to have clustered index so NCI can point to it.


Go to Top of Page

ravilobo
Master Smack Fu Yak Hacker

1184 Posts

Posted - 2008-05-20 : 10:28:00
..Sorry I missed to mention it. So my refined quetion is
"Is it true for tables not having PK, but having unique CLUSTERED index?"

From your answer, I believe it is TRUE. Thanks.



------------------------
I think, therefore I am - Rene Descartes
Go to Top of Page

rmiao
Master Smack Fu Yak Hacker

7266 Posts

Posted - 2008-05-20 : 22:16:15
Yes, and pk can be non-clustered.
Go to Top of Page
   

- Advertisement -