i have a column (myColumn) that serves as the primary key of a table (tableA). i've noticed that 2 or 3 tables reference this myColumn as foreign key. how do i detect all tables that use and reference myColumn?
im guessing that more than 3 tables use myColumn because when i tried updating it like this
UPDATE tableA SET myColumn = 1 WHERE myColumn = 1 6 rows were updated.
it was earlier suggested to me to use
sp_helpconstraint('your_table_name') but i then found out that this does not give the complete information that i need.
any other suggestions?