April 27, 2021 at 12:00 am
Comments posted to this topic are about the item Types of indexes available in SQL Server 2019
April 27, 2021 at 10:35 am
Good question and well versed given the referenced link
I said 13 as you can create indexes on persisted columns as referenced in a child document, https://docs.microsoft.com/en-gb/sql/relational-databases/indexes/indexes-on-computed-columns?view=sql-server-ver15
April 27, 2021 at 3:52 pm
Good question and well versed given the referenced link
I said 13 as you can create indexes on persisted columns as referenced in a child document, https://docs.microsoft.com/en-gb/sql/relational-databases/indexes/indexes-on-computed-columns?view=sql-server-ver15
It's a real shame that and other MS documents don't actually cover the major problem with computed columns as Brent Ozar did in the following article, which also has a pretty good suggestion for a fix...
https://www.brentozar.com/archive/2020/10/using-triggers-to-replace-scalar-udfs-on-computed-columns/
--Jeff Moden
Change is inevitable... Change for the better is not.
April 27, 2021 at 3:52 pm
Thanks for the question. Learned about hash-indexes
Viewing 4 posts - 1 through 3 (of 3 total)
You must be logged in to reply to this topic. Login to reply