You are here: 1 field or two? « PHP SQL « IT news, forums, messages
1 field or two?

Posted by toedipper on 06/07/05 01:55

Hello,

Imagine I have a table called countries. Every country is the world has a
unique name so should my table just have one field called ie CountryName or
should I have 2 fields including eg Countryid?

I mean, if the countryname fields are unique anyway what is the point of
creating an id field? It just seems to me to create extra baggage.

I'm all new to this so someone point me in the right direction!

Thanks,

td.

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация