Suppose I have two distinct databases with identical schemas but different data. I want to merge the data between the two databases by adding the data from one into the other. Foreign key relationships, etc. need to be maintained when the data is migrated.
Are there any tools (or databases that have built-in tools) to make this job fairly simple?