Click here to Skip to main content
15,888,610 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have a question about the architecture of the database.
If you have a table and in these table are items, which are divided according to types. Is it worthy to create for these types another table even if it means that in that table would be just id and the name of the type, or is it better just to have a name in the existing table? Maybe it’s not a difference? Or do you know a tutorial where I could read about this staff? I'm interested about the best practises.
Posted

For Normaliztion you should create seprate table for this.


In future it will help you.Whn you have to use these types in multiple table.

But again its depends upon your requirement also !!!
 
Share this answer
 
v2
Comments
Anuj Banka 28-Nov-11 8:33am    
Rating will be appreciated if you are satisfy with answer :)
As Anuj said normalizing the tables will solve your problem. http://en.wikipedia.org/wiki/Database_normalization[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900