jadams0173
Technical User
- Feb 18, 2005
- 1,210
Using SQL 2000
I have two tables. At the begging of the day both tables are identical. However, at mid day the dynamic table updates and it takes about 40 minutes to load the updated data (about 2 million rows).
During this reloading time, my application is in a blackout time since this huge table is reloading and that's the table my procedure uses so I get current data after the update.
My question is, if I used a UNION query to join the tables would this eliminate the blackout period?
example
I have two tables. At the begging of the day both tables are identical. However, at mid day the dynamic table updates and it takes about 40 minutes to load the updated data (about 2 million rows).
During this reloading time, my application is in a blackout time since this huge table is reloading and that's the table my procedure uses so I get current data after the update.
My question is, if I used a UNION query to join the tables would this eliminate the blackout period?
example
Code:
Select Col1, Col2, Col 3
From StaticTable
Union
Select Col1, Col2, Col3
From DynamicTable