Quantcast
Channel: ฟอรัม Getting started with SQL Server
Viewing all articles
Browse latest Browse all 8428

database design- foreign key ?

$
0
0

I have table transaction history, which have transaction_id, account_no, Account_type, transaction_type.

Account_no & Account_type is from Account Table

Transaction_type is from Transacion Type Table.

Do I need to state 'foreign key' for all these fields in transaction history table? Is it OK if I do not add foreign key for transaction type?


Viewing all articles
Browse latest Browse all 8428

Trending Articles



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