sql server find all foreign keys pointing to my table code example Example: tsql find foreign key references EXEC sp_fkeys 'TableName'