Created
September 13, 2012 16:25
-
-
Save bmchild/3715539 to your computer and use it in GitHub Desktop.
Sql Server 2008 index
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
CREATE UNIQUE NONCLUSTERED INDEX my_index_name ON my_table (my_column) where my_column = 'Y'; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment