Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase ««12

Generating Auto Relationship Expand / Collapse
Author
Message
Posted Monday, May 12, 2014 4:53 AM
SSCrazy

SSCrazySSCrazySSCrazySSCrazySSCrazySSCrazySSCrazySSCrazy

Group: General Forum Members
Last Login: Today @ 9:56 AM
Points: 2,200, Visits: 5,941
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.
Post #1569763
Posted Monday, May 12, 2014 5:15 AM


SSChampion

SSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampion

Group: General Forum Members
Last Login: Today @ 9:47 AM
Points: 13,872, Visits: 28,270
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
The Scary DBA
Author of: SQL Server Query Performance Tuning
SQL Server 2012 Query Performance Tuning
SQL Server 2008 Query Performance Tuning Distilled
and
SQL Server Execution Plans

Product Evangelist for Red Gate Software
Post #1569778
« Prev Topic | Next Topic »

Add to briefcase ««12

Permissions Expand / Collapse