Skip to content

Instantly share code, notes, and snippets.

@bmchild
Created September 13, 2012 16:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bmchild/3715539 to your computer and use it in GitHub Desktop.
Save bmchild/3715539 to your computer and use it in GitHub Desktop.
Sql Server 2008 index
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