• Eirikur Eiriksson (5/12/2014)


    Grant Fritchey (5/12/2014)


    madhukars 32911 (5/12/2014)


    Yes,

    I want to use JOINS, but this relationship is to be generated automatically on selection of the tables by the user.

    Right. No way to do this automatically through SQL Server Management Studio or Visual Studio. Not without 3rd party help.

    Figured there was a slight misunderstanding going on. Don't think that even the smartest of 3rd party tools can offer more than an intelligent suggestion, definitely not generate the relationship with 100% certainty.

    😎

    Oh heck no.

    "The credit belongs to the man who is actually in the arena, whose face is marred by dust and sweat and blood"
    - Theodore Roosevelt

    Author of:
    SQL Server Execution Plans
    SQL Server Query Performance Tuning