문제

Possible Duplicate:
How to find foreign key dependencies in SQL Server?

i am trying to delete a table in SQL server mgmt studio by rightclicking and clicking "DELETE". I am getting this error:

Could not drop object 'dbo.Team' because it is referenced by a FOREIGN KEY constraint. (.Net SqlClient Data Provider)

how can i find out what is referencing this table as nothing should be. Why wouldn't SQL server mgmt studio help point you to what is referencing it?

도움이 되었습니까?

해결책

Maybe this answer can help you:

How to find foreign key dependencies in SQL Server?

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top