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

Using Composite Primary key of weak entity as Foreign key.

$
0
0

Hi,

We need to use the PK USER_ID from the table USER as a composite primary key for the weak entity in REQUEST_LIST. And then, we need to use the USER_ID from the request list table inserted as mention above to ORDER_DETAIL table as Foreign key. but we are not sure if a primary have been used for Composite Primary key could be use for Foreign key or not?

Could you please confirm?

Thank you


Viewing all articles
Browse latest Browse all 23857

Trending Articles



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