August 9, 2021 at 12:00 am
Comments posted to this topic are about the item Index Type Limits
August 9, 2021 at 1:25 pm
Xml is indexable with the restriction that it is the only key column. See https://docs.microsoft.com/en-us/sql/relational-databases/sql-server-index-design-guide?view=sql-server-ver15.
If the question was worded as "Which of these data types are not allowed for the columns to add to an existing index?" or "If adding multiple columns to an index, which of these data types are not allowed for the columns to add to an existing index?"
August 9, 2021 at 2:28 pm
Updated to add multi-column index. Thanks for the note.
August 9, 2021 at 4:08 pm
Still not quite right. The MAX datatypes (LOBs) ARE actually allowed in RowStore indexes. They're allowed in INCLUDEs, just not as a key.
--Jeff Moden
Change is inevitable... Change for the better is not.
Viewing 4 posts - 1 through 3 (of 3 total)
You must be logged in to reply to this topic. Login to reply
This website stores cookies on your computer.
These cookies are used to improve your website experience and provide more personalized services to you, both on this website and through other media.
To find out more about the cookies we use, see our Privacy Policy