|
|
|
Forum Newbie
      
Group: General Forum Members
Last Login: Friday, June 29, 2012 1:55 AM
Points: 5,
Visits: 19
|
|
Can we fing clusters of following data?
Id P1 P2
x 5.6 4.5 x 1.6 4.5 y 5.6 4.5
having 2 clusters?
|
|
|
|
|
UDP Broadcaster
      
Group: General Forum Members
Last Login: Tuesday, April 30, 2013 12:46 PM
Points: 1,493,
Visits: 239
|
|
- your primary key hasn't to be your clustered index - only one clustered index per table.
|
|
|
|
|
SSCrazy
      
Group: General Forum Members
Last Login: Yesterday @ 12:00 PM
Points: 2,988,
Visits: 4,412
|
|
vnj (1/13/2012) Can we fing clusters of following data?
Id P1 P2
x 5.6 4.5 x 1.6 4.5 y 5.6 4.5
having 2 clusters?
I think original poster is referring to "clusters" on its data mining meaning, as in "data clustering" as opposed to "clustered/non-clustered indexes".
Having said that, PKs are created to enforce uniqueness on a column or combination of columns, more related to referential integrity than to data mining - you can do "data clustering" in an indexless, PKless table.
_____________________________________ Pablo (Paul) Berzukov
Author of Understanding Database Administration available at Amazon and other bookstores.
Disclaimer: Advice is provided to the best of my knowledge but no implicit or explicit warranties are provided. Since the advisor explicitly encourages testing any and all suggestions on a test non-production environment advisor should not held liable or responsible for any actions taken based on the given advice.
|
|
|
|