Jump to content

A question of table design


sinbad

Recommended Posts

Hi,
I want a table of all countries including the names of the countries in different languages.

Please tell me which design is better

1) countries (country_id, language_id, country_name)
In design No 1, I will have three fields, but 200 records for each language, so that 1400 rocords for 7 languages

2) countries (country_id, eng_name, fre_name, spa_name, Ger_name, etc )
And in this case I will have no more than 200 rocords, but an extra field for each language.

Please tell me what do  you think.

Regards
Sinbad
Link to comment
https://forums.phpfreaks.com/topic/35011-a-question-of-table-design/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.