Total differences in script?
Brian Donahue
Posts: 6,590 Bronze 1
Hi,
Do you need a report of the schema differences or the data differences?
Do you need a report of the schema differences or the data differences?
This discussion has been closed.
Comments
Just to count the different records (not missing or additional), you can get this information from the ResultsStore's RowCount property:
foreach (Table table in commonTables)
{
ResultsStore differenceStore=session.TableDifferences[table.FullyQualifiedName].DifferentRecords;
DifferencesCount+=differenceStore.RowCount;
}