Hi Guys,
Currently I have a database with around 30 tables (for 30 different products) and there is no relationships between any of them just flat tables.
There are testing results stored in each table and I have built a search function to grab the info I want. For example a weeks worth of data inserted.
Currently I have it set up that I have to chose the table I want to search from. The data is then outputted into a table with the table heading hard coded and not being lifted from the database.
Was wondering is there anyway that I could search from all tables in the database and return the info instead of only searching one at a time without any relationships between the tables ??
The main issue I can see is that each table of search results will have to have different table headings and not just plonked into one table and one set of headings
Any ideas welcome
Cheers
Currently I have a database with around 30 tables (for 30 different products) and there is no relationships between any of them just flat tables.
There are testing results stored in each table and I have built a search function to grab the info I want. For example a weeks worth of data inserted.
Currently I have it set up that I have to chose the table I want to search from. The data is then outputted into a table with the table heading hard coded and not being lifted from the database.
Was wondering is there anyway that I could search from all tables in the database and return the info instead of only searching one at a time without any relationships between the tables ??
The main issue I can see is that each table of search results will have to have different table headings and not just plonked into one table and one set of headings

Any ideas welcome

Cheers