Comparing two tables through linked servers

  • Is there a way to compare two tables through linked servers? One linked server is Oracle and the other DB2 and I want to compare in SQL Server or at least have the results in a table in SQL Server.

    Regards

    comptrtoy1@yahoo.com

  • Depedns on the size of the data being compared. If not very large and there is a primary key then you could use a select statment with a join to compare the entire row to each other using the PK as the anchor point. However, if large then one side or the other or both have to completely transfer to the SQL server for the comparison so you put a lot of work on the network and the SQL server. It just is complicated not impossible.

    "Don't roll your eyes at me. I will tape them in place." (Teacher on Boston Public)

Viewing 2 posts - 1 through 1 (of 1 total)

You must be logged in to reply to this topic. Login to reply