Click here to monitor SSC
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 

Get your favorite SSC scripts directly in SSMS with the free SQL Scripts addin. Search for scripts directly from SSMS, and instantly access any saved scripts in your SSC briefcase from the favorites tab.
Download now (direct download link)

Compare the data of 2 Tables (Updated)

By G.R.Prithiviraj Kulasingham,

The SP compares the data in 2 tables and reports the different data. Tables could be from different servers, different databases or different schemas. This accepts 7 parameters 1, 2: Name of the 2 tables 3 : List only the differences 4. : Compare only the structure 5. : Check timestamp fields too 6. : Verbose mode 7. : Field List Thanks to: iecdba (Sript id 452) for giving the idea.

Total article views: 1294 | Views in the last 30 days: 6
 
Related Articles
FORUM

difference

Difference

FORUM

time difference

time difference

FORUM

Query Difference

Query Difference

 
Contribute