Select all indices from a database in Microsoft SQL Server 2005
Select all indices from a database in Microsoft SQL Server 2005 select [name] from sysindexes (nolock) where ([name] not like ‘PK%’) and ([name] not like ‘_WA%’) and ([name] not like ‘sys%’)