enum vs lookup table


Author: yifei / Created: May 30, 2017, 4:16 p.m. / Modified: May 30, 2017, 5:11 p.m. / Edit

Yifei's Notes

lookup table wins for the most time use enum when you choice is locked to be a few, such as gender: Male and Female, otherwise, lookup table

http://stackoverflow.com/questions/433490/lookup-tables-best-practices-db-tables-or-enumerations


评论区