|
|
|
SSCrazy
      
Group: General Forum Members
Last Login: Today @ 11:48 AM
Points: 2,015,
Visits: 2,843
|
|
I knew it had to be more than two and thought it was less than 10. So, I stabbed at it with eight and got it right. It made me review indexes and that's a good thing.
|
|
|
|
|
SSCrazy
      
Group: General Forum Members
Last Login: Today @ 7:23 AM
Points: 2,863,
Visits: 2,466
|
|
I must add my own .02 to this thread. I to come up with the correct answer being wrong. Using the reference given, I see that some of the indexes identified as correct answers are truely modifiers of the basic index types. How can these be acceptable index types?
Steve Jimmo Sr DBA “If we ever forget that we are One Nation Under God, then we will be a Nation gone under." - Ronald Reagan
|
|
|
|
|
SSCrazy
      
Group: General Forum Members
Last Login: Today @ 7:23 AM
Points: 2,863,
Visits: 2,466
|
|
Also, to use Paul Randall's method from a couple of weeks ago - this is for my point I lost
Steve Jimmo Sr DBA “If we ever forget that we are One Nation Under God, then we will be a Nation gone under." - Ronald Reagan
|
|
|
|
|
Ten Centuries
      
Group: General Forum Members
Last Login: Yesterday @ 8:54 AM
Points: 1,259,
Visits: 700
|
|
I new I will get incorrect answer :)
I based my answer on sys.indexes "type" column:
Type of index:
0 = Heap
1 = Clustered
2 = Nonclustered
3 = XML
4 = Spatial
|
|
|
|
|
Old Hand
      
Group: General Forum Members
Last Login: Thursday, February 14, 2013 2:39 PM
Points: 311,
Visits: 277
|
|
michael.kaufmann (7/22/2010)
Wayne, first of all thank you for compiling a QotD. However, I do not quite agree with the solution. 'Unique' is just taking the definition of a clusterd or non-clustered index a step further. 'with included columns' and 'filtered' again are non-clustered indexes (with advanced features). So I don't see them as individual types, but sub-types at best. Hence it comes down to 5 types (why I got it wrong): - clustered - non-clustered - full-text - spatial - XML I assume, though, that this is another wording issue  ; nevertheless an excellent lesson having to recap what index types there are. Thanks, Michael
And XML index may be - Primary - Secondary
And secondary XML index can be - for Path - for Value - for Property
As for me the question is not formalized properly
|
|
|
|
|
SSCrazy
      
Group: General Forum Members
Last Login: Today @ 8:49 AM
Points: 2,672,
Visits: 2,417
|
|
Good question.
Filtered index....who knew.
|
|
|
|
|
Hall of Fame
       
Group: General Forum Members
Last Login: Monday, February 20, 2012 9:59 AM
Points: 3,357,
Visits: 652
|
|
If an XML Primary Index and an XML Secondary Index have different index structures (see Qo D from July 22) doesn't that imply that they are separate index types?
|
|
|
|
|
SSCoach
         
Group: General Forum Members
Last Login: Yesterday @ 1:07 PM
Points: 18,733,
Visits: 12,332
|
|
|
|
|
|
SSC Eights!
      
Group: General Forum Members
Last Login: Wednesday, May 08, 2013 4:59 PM
Points: 830,
Visits: 526
|
|
For a different take on essentially the same question, see the discussion from May 21st http://www.sqlservercentral.com/Forums/FindPost925652.aspx
Dan Guzman - Not the MVP (7/22/2010) All questions have to be prefaced by Server version and 'according to MS Docs' or 'my own personal opinion based on how much detail I felt like digging into at the time.'
|
|
|
|
|
Say Hey Kid
      
Group: General Forum Members
Last Login: Friday, April 26, 2013 11:57 AM
Points: 708,
Visits: 660
|
|
Man you guys are finicky.
Many of you prove your point by quoting MS documentation, but others of you claim MS Documentation isn't good enough.
Which is it?
So do all questions have to be prefaced by Server version and 'according to MS Docs' or 'my own personal opinion based on how much detail I felt like digging into at the time' ?
Someone also mentioned that unique indexes are clustered. Really? Non-clustered indexes can't be unique?
Thanks for the question Wayne - "You can't please all the people all the time." - Abe Lincoln
Dan
|
|
|
|