Conteur
04-15-2004, 05:31 PM
Hi,
I am administering a web site for my wife's church organization. The site displays a calendar listing the names of volunteers for each day of the month. I started by creating each calendar page in HTML. After a while that got old, so I wrote a C++ program to generate the HTML code automatically reading the data from a flat file. A far better solution would be to set up a database and host the site using PHP. One table would contain the list of volunteers and their pertinent information. Another table would be created listing the volunteers and the dates that they work on. Here is the meat of the question. I still have to create the HTML for the calendar, so I thought that I could create a table for each month of the year. Okay, after 5 years I will have 62 tables, 10 years - 122 tables. I know that I can keep all the data in a single table, but it seems more logical to me to keep each month separately. Is there a practical limit to the number of tables that a database should contain? Any ideas or suggestions would be greatly appreciated.
Thanks,
Conteur
I am administering a web site for my wife's church organization. The site displays a calendar listing the names of volunteers for each day of the month. I started by creating each calendar page in HTML. After a while that got old, so I wrote a C++ program to generate the HTML code automatically reading the data from a flat file. A far better solution would be to set up a database and host the site using PHP. One table would contain the list of volunteers and their pertinent information. Another table would be created listing the volunteers and the dates that they work on. Here is the meat of the question. I still have to create the HTML for the calendar, so I thought that I could create a table for each month of the year. Okay, after 5 years I will have 62 tables, 10 years - 122 tables. I know that I can keep all the data in a single table, but it seems more logical to me to keep each month separately. Is there a practical limit to the number of tables that a database should contain? Any ideas or suggestions would be greatly appreciated.
Thanks,
Conteur