title: How do I write a query to compare the indexes on two SQL Server tables?
body: <p>I have to write a SQL script to compare the differences between the indices of two tables on SQL Server.  How can I get the structure of the indices on a table through a SQL query?</p>