I have an old and a new database with customer data. And now I have to remember if the customer I'm looking for is part of the new system, or the old system before i search - in my application. That's kind of a hassel.
I would like to join the two result-sets together and throw them into one single mega overview in my application - which is a table with a search function.
What would be the best practise for this?
Both the old and new database structure (system) consists of multiple tables joined together in order to get the necessary information needed. And they're not entirely equal.
The new system is splitted into more tables, and there are added a few new ones, to meet the needs when the business expanded their services.
But the result that is returned to the viewer is the same.
Would it be possible to just kind of merge the two arrays, that holds the result-set from the database query, together? - and then do a while
-loop or foreach
-loop on that?
Not really sure how yet, but if that's a solution I would appreciate some help looking in the right direction..