Wednesday, June 1, 2011

Primary key and foreign key differences

Primary Key

Foreign Key

- Must have unique values

- Unique value that represent each record in a table

- Can have duplicate values.

- Foreign key links to a primary key in another table.

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.