I'm having a bit of trouble finding how some tables are joined across databases due to system privileges/restrictions (but due to the virus admins are off).
Essentially, I'm trying to find what/where other tables a certain table's Primary Key is referenced (or being used as a Foreign Key).
Is there anyway to do this?
I've tried:
Select table_name, column_name
From information_schema.key_column_usage
But all I get is just a list of the table name and column name that I'm searching for...
Oh, btw, I'm using SSMS 18.0 (SQL).