MySQL Forums
Forum List  »  Newbie

Re: option value referencing
Posted by: Peter Brawley
Date: March 15, 2015 11:59AM

Best practice is to make the database as autonomous as possible, so it'd be best to encode the meaning of '21' in a lookup table or an Enum column; you might prefer the latter if it's certain the coding will never change and if the list is short.

Options: ReplyQuote


Subject
Written By
Posted
March 15, 2015 11:20AM
Re: option value referencing
March 15, 2015 11:59AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.