You can fool: if you donβt care about the referential integrity of this field (that is, it simply appears in the user profile and is not required for strictly enforced business rules), save it as a simple VARCHAR column.
For a drop-down list, use a query, for example:
SELECT DISTINCT (University) FROM Profiles
If you want to filter out typos or disposable ones, try:
SELECT University FROM PROFILES
GROUP BY University
HAVING COUNT (University)> 10 - where 10 is an arbitrary threshold you can tweak
We use this code in one of our databases to store trade descriptions of contracting companies; since this is only informational (there is a separate "Category" field to enforce business rules), this is an acceptable solution.
Keith williams
source share