You can specify a custom key when the table or view has no built-in key or when the existing key is not suitable for data compare.

The following rules apply to custom keys:

The following xml fragment defines a custom key for the pair of table dbo.Employees:

<TablePairs>
     <Pair>
          <LeftObject Name="dbo.Employees">
               <Key Name="Custom_Key">
                    <Column>EmployeeID</Column>
               </Key>
          </LeftObject>
          <RightObject Name="dbo.Employees">
               <Key Name="Custom_Key">
                    <Column>EmployeeID</Column>
               </Key>
          </RightObject>
     </Pair>
</TablePairs>

 

Total compare from data to schema with IDERA SQL Comparison Toolset. Learn more > >

IDERA WebsiteProductsPurchaseSupportCommunityAbout UsResources Legal