Created
July 21, 2015 14:35
-
-
Save JustinMcNamara74/ab5413c44d9c002d2fdf to your computer and use it in GitHub Desktop.
#MSSQL Find table indexes
This file contains hidden or 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
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