Does anyone know how I can see which are the primary & foreign keys in a table?
EDIT: Thanks for all the responses. I was looking for a SQL Query to do that. Rig
In Management Studio, expand the table and then expand the Columns item. The primary key(s) has a key icon next to them.
To see the foreign keys, expand the Constraints item.