View index details by Table

Here’s a handy script to see the indexes available on a given table. The script displays all columns associated with the index, and identifies if it is a index key column, or an include. Hopefully you will find it helpful with database tuning, as I…