MySQL Forums
Forum List  »  Newbie

Re: Help with the best table layout for message board
Posted by: Thor Strom
Date: November 29, 2009 06:18PM

I almost forgot the most important part of my response: When you say that it is almost not worth normalizing not-too-long strings, do you mean that if I had, e.g. a varchar(8) Name column in the post (entry) table, then I shouldn't use integer primary keys to link the entry and user tables together? I.e. I should just use the Name as the primary key in the user table and then have the Name column in the post table be a foreign key?

Thank you for your time.

Options: ReplyQuote


Subject
Written By
Posted
Re: Help with the best table layout for message board
November 29, 2009 06:18PM


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.