Hi
I am working on a website which will allow user's to access their own databases to view additional statistics which are not shown on the main website.
On the initial login if two additional tables do not exist then these need to be added - one of these tables will hold all the information which the user will be able to see once they have successfully logged into the website and the other is to keep a tab on whether the other table needs to be refreshed or not.
At most I would need to access 5 tables for the varies queries I need to run on the user's database. And I will probably need to add further queries in the future as the user decides on additional information they wish to see so need to create something which is fairly easy to add to and adjust.
I was wondering if stored procedures would be a good idea for this? But then read if not accessing more than 5 tables then procedures are not the best approach. As these statistics need to be refreshed every time the user logs in I need to use the mose efficient way to do this without affecting the processing time.
Does anyone have any pointers or good websites/examples I can look at.
Look forward to any advise you can give me to get me started
I am working on a website which will allow user's to access their own databases to view additional statistics which are not shown on the main website.
On the initial login if two additional tables do not exist then these need to be added - one of these tables will hold all the information which the user will be able to see once they have successfully logged into the website and the other is to keep a tab on whether the other table needs to be refreshed or not.
At most I would need to access 5 tables for the varies queries I need to run on the user's database. And I will probably need to add further queries in the future as the user decides on additional information they wish to see so need to create something which is fairly easy to add to and adjust.
I was wondering if stored procedures would be a good idea for this? But then read if not accessing more than 5 tables then procedures are not the best approach. As these statistics need to be refreshed every time the user logs in I need to use the mose efficient way to do this without affecting the processing time.
Does anyone have any pointers or good websites/examples I can look at.
Look forward to any advise you can give me to get me started