Using SQLServer :
I have a table user :
-
id -
name -
email
There are some other tables (about 200 more tables), some of which use user.id as foreign key on cascade delete.
So, I want to find out – Which tables use this foreign key (user.id) ?
I am accessing my sql-server with SQL Server Management Studio.
In SQL server management studio, you can right click your table in the object explorer, and then select ‘View Dependencies’. This will open a new window in which you can see all other objects (not just tables) that depend on your table, and on which your table depends.