I have two tables that are identical. One holds current data and one holds historical data. When we're finished with a record we move it to the historical table. This is a new process to speed up the application.
I need to query both tables for reports. I'm drawing a blank on this. I know I can create a new temporary table and copy the data from both tables into the new one and query that table, but that sounds like it would take longer than querying both tables in one query.
Any suggestions? Some sort of Join?
Thanks,
JB
I need to query both tables for reports. I'm drawing a blank on this. I know I can create a new temporary table and copy the data from both tables into the new one and query that table, but that sounds like it would take longer than querying both tables in one query.
Any suggestions? Some sort of Join?
Thanks,
JB