Skip to content

Instantly share code, notes, and snippets.

@JustinMcNamara74
Created July 21, 2015 14:35
Show Gist options
  • Save JustinMcNamara74/ab5413c44d9c002d2fdf to your computer and use it in GitHub Desktop.
Save JustinMcNamara74/ab5413c44d9c002d2fdf to your computer and use it in GitHub Desktop.
#MSSQL Find table indexes
SELECT * FROM sys.indexes
WHERE object_id = (SELECT object_id FROM sys.objects WHERE name = 'tableName')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment