SELECT name FROM SYSOBJECTS WHERE XTYPE='U';
Nombre de restricciones forenign key
SELECT * FROM SYSOBJECTS WHERE XTYPE='F';
Nombres de Primary keys
SELECT * FROM SYSOBJECTS WHERE XTYPE='PK';
Nombres de Campos de una tabla
Select name from syscolumns where id=object_id('tabla');