Finding all tables and fields on "many" side of relations with a certain table
        Posted  
        
            by bzamfir
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by bzamfir
        
        
        
        Published on 2010-06-11T19:03:09Z
        Indexed on 
            2010/06/11
            19:22 UTC
        
        
        Read the original article
        Hit count: 298
        
in Sql Server 2005, I have a master table, and several other tables which are related to this master through several one to many relations. How can I find all tables and fields which are in relation with the primary key in the master table, on "many" side?
I know I can extract this by querying views from INFORMATION_SCHEMA, but I don't know where exactly I can find this info.
Thank you
© Stack Overflow or respective owner