sql server - Visual Studio SSDT Data Compare how to compare two tables in a single database -
trying simple data compare in ssdt proving bit hard.
in 1 database, have 2 tables want compare.
these tables have same schema, different table names. , want see if tool give me nice way compare data in both.
i.e.
tbloutput tbloutput_210314
but picking of 2 tables compare against each other in single database can't see how achieve.
seems can pick table name exists in both source , target databases. since source , target database same, comparing table ?
anyone know of way achieve data compare ?
- visual studio 2012
- sql server data tools
- data compare
data compare supports comparing 2 different databases matching schemas. unfortunately can't looking data compare. help documentation:
requirements
when compare data in table or view, table or view in source database must share several attributes table or view in target database. tables , views not meet following criteria not compared , not appear on second page of new data comparison wizard:
- tables must have matching column names have compatible data types.
- names of tables, views, , owners case-sensitive.
- tables must have same primary key, unique index, or unique constraint.
- views must have same unique, clustered index.
- you can compare table view if have same name.
Comments
Post a Comment