Hi all,
I think I have got a general questions - however, I prefer to ask experts rather than base my design on vague opinions. So, I want to design a simple database for contacts of a company. Of course the design and the company structure and activity requires some tables. However, I have a question regarding "small" tables with a primary key and one column only. Let's name them "type tables". I have a few of these tables such as:
or
Is it a good practice ? Or it is better to drop those tables and include them to the person table? I am aware that afterwards I might use them as a base for scroll list and whatever changes in a "type table" then it changes in front-end design instantly. Nevertheless, I would like to know your opinion.
Also my second question is (I know I should not ask two but it is so related so I prefer to add it here without utterly disobedience of post rules) I have a table AddressDetails that stores data for companies and clients. So that the clients and companies tables have got reference to the address table. Is that a good approach? I am asking because I used to help someone with database and when the database was huge it took a long time to load data with multiple SQL queries. Thus, maybe it is better to extend client and company database with address details columns ? Therefore, we limit ourself to loading data from one table only. I would like to know your opinion about it.
So in general, I would like to know if in access it is better to store less tables but waste memory, or it is better to have many tables and cause extra processor overload. This is my biggest concern right now.
Also, where could I find more info abut this matter as I do not know how to ask google ?
thank you all for your answers and suggestions.
Cheers!
I think I have got a general questions - however, I prefer to ask experts rather than base my design on vague opinions. So, I want to design a simple database for contacts of a company. Of course the design and the company structure and activity requires some tables. However, I have a question regarding "small" tables with a primary key and one column only. Let's name them "type tables". I have a few of these tables such as:
Code:
JobTitle:
|JobTitleId||JobTitleType|
Code:
PersonType:
|PersonTypeId||PersonType|
Also my second question is (I know I should not ask two but it is so related so I prefer to add it here without utterly disobedience of post rules) I have a table AddressDetails that stores data for companies and clients. So that the clients and companies tables have got reference to the address table. Is that a good approach? I am asking because I used to help someone with database and when the database was huge it took a long time to load data with multiple SQL queries. Thus, maybe it is better to extend client and company database with address details columns ? Therefore, we limit ourself to loading data from one table only. I would like to know your opinion about it.
So in general, I would like to know if in access it is better to store less tables but waste memory, or it is better to have many tables and cause extra processor overload. This is my biggest concern right now.
Also, where could I find more info abut this matter as I do not know how to ask google ?
thank you all for your answers and suggestions.
Cheers!