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
...
You should use the primary key. Here are some reasons:
'UNIVERSITY OF ARIZONA (TUCSON)'.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