Question : System tables in SQL Server - management console

I would like to be able to find if a field in a table has an index - programatically.  (I can look at the index/keys when in design mode of a table in the management console).

So I need to know where the information about indexs / keys and such like is stored (I presume some system tables have that info) and how to view these tables in the management console ?
Attachments:
 
About...
About...
 

Answer : System tables in SQL Server - management console

Well, the index information is stored in sys.indexes. Some of it anyway.
You might want to look here too: http://databases.aspfaq.com/schema-tutorials/schema-how-do-i-list-all-the-indexes-in-a-database.html
Some useful information and nice scripts.
Random Solutions  
 
programming4us programming4us