Vault sync: 2021-10-25 17:06:27
This commit is contained in:
parent
ec342edb5a
commit
0f8042c145
@ -1,4 +1,6 @@
|
||||
# Foreign Key
|
||||
A Foreign key is a [[Constraint]] that protects links between tables.
|
||||
A Foreign key is a [[Constraint]] that protects links between tables. Foreign key is a attribute or attributes that link to the [[Primary Key]] of a other entity set (table).
|
||||
|
||||
For
|
||||
|
||||
|
||||
|
@ -1,8 +1,8 @@
|
||||
# Primary Key
|
||||
A Primary key is a [[Constraint]] that uniquely identifies [[SQL Database#Entity]] in a entity set (table).
|
||||
A Primary key is a [[Constraint]] that uniquely identifies [[SQL Database#Entity]] in a entity set (table). Only one pair of values that the primary key forms can exist within a entity set (table).
|
||||
|
||||
There can only be ONE primary per table and can consist of multiple attributes (columns).
|
||||
|
||||
There als o
|
||||
|
||||
A primary key is **not** required, but highly advised. Even if you don't use it its better to include one in your schema.
|
||||
|
||||
## Exaple
|
||||
|
Loading…
x
Reference in New Issue
Block a user