Created
February 15, 2024 17:10
-
-
Save VladDBA/176e943b80d763c46c10997dfc70c563 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
USE StackOverflow | |
GO | |
ALTER TABLE dbo.Users ADD DisplayNameLength AS LEN(DisplayName); | |
GO | |
CREATE INDEX DisplayNameL ON dbo.Users(DisplayNameLength) | |
WITH(ONLINE=OFF, MAXDOP=0); | |
GO |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment