Our company used to have onpremiere and cloud ERP systems and they finally wanted to pull data from each ERP systems to staging database in our datawarehouse. These two systems are identical interm of table strunctures and schemas however,we need to consolidate a few tables to create a unique table. Such as, dbo.Product from ERP1 and dbp.Product from ERP2 systems have overlapping productId(s) what would be the ideal case to merge these two tables without breaking data integratity
Example: ERP1.Product( ProductId int , ProductName varchar(90), Product varchar(MAX) )
ERP2.Product( ProductId int , ProductName varchar(90), Product varchar(MAX) )