Quantcast
Channel: Transact-SQL forum
Viewing all articles
Browse latest Browse all 23857

Auto Relationship

$
0
0

Hi Team,

I would like to create a auto relationship between tables.

Currently i am using Northwind DB with tables (Orders, OrderDetails, Customers)

Orders ( OrderId, Customerid)

OrderDetails(OrderId)

Customers(CustomerID)

Now, if the user wants to generate a relationship automatically based on SAME FIELD Names.

What is the approach? Any kind of query or methodology

THanks

Madhukar


Madhukar


Viewing all articles
Browse latest Browse all 23857

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>