Quantcast
Channel: MSDN Blogs
Viewing all articles
Browse latest Browse all 29128

How to compare the rows of two tables and fetch the differential data.

$
0
0
In this blog I would like to demonstrate a scenario where users want to move the changes between the tables in two different databases. Let’s say we would like to compare and move the changes between the databases for some tables using T-SQL The below example talks about moving the changes between the two databases in the same instance However the same can be extended across instances if you use linked server or SSIS packages. Also we can write queries to move the DML changes from source to destination...(read more)

Viewing all articles
Browse latest Browse all 29128

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>