php - IDs in MySQL, standard IDs or alphanumerics? -
i'm thinking of this, if make web site specific university's students should make id standard ids on mysql (integer, auto increment) or should give ids how email address is, if student's email address e12234@university.edu his/her id e12234 (on web site). ok, performance?
edit: also, there such email addresses: n13345@university.edu (exchange student) jennajameson@university.edu (this professor)
i recommend separate, independent value id (integer, auto increment). id values should never change, never updated. people change emails time, corporations reissue same email address new users sometimes.
Comments
Post a Comment