What is the difference between primary, unique and foreign key constraints, and indexes?
I work on Oracle 10g and SQL Server 2008.
Primary Key: identify uniquely every row it can not be null. it can not be a duplicate.
Foreign Key: create relationship between two tables. can be null. can be a duplicate
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With