Reputation: 8839
I have many lookup tables that look like:
id(pk) type(unique)
---
1 UNIVERSITY OF ARIZONA
2 UNIVERSITY OF MIAMI
3 TOKYO UNIVERSITY
Let's say type
is a unique string in all cases.
I am questioning whether I should use the id(pk)
or just do:
type(pk)
----
UNIVERSITY OF ARIZONA
...
Upvotes: 3
Views: 1844
Reputation: 1269623
You should use the primary key. Here are some reasons:
'UNIVERSITY OF ARIZONA (TUCSON)'
.Upvotes: 6