theres a fairly big sql database in a server at my work. i have to link it to another sql server database on a different server. before i do this i want to find out what tables are linked in each DB, but theres no documentation and no diagrams. is there any query that will tell me what tables are linked to eachother , or a program .