What is the best way to compare records across 2 separate databases. Although the structures are completely different I can create a subset of the pertinent fields with the following queriesSELECT dbo.tarCustomer.CustID, dbo.tarCustomer.CustName, dbo.tciAddress.AddrLine1, dbo.tciAddress.City, dbo.tciAddress.StateID, dbo.tciAddress.PostalCode, dbo.tciPaymentTerms.PmtTermsID, dbo.tciContact.Phone, dbo.tciContact.Fax, dbo.tciContact.EMailAddrFROM dbo.tciAddress INNER JOIN dbo.tarCustAddr ON dbo.tciAddress.AddrKey = dbo.tarCustAddr.AddrKey INNER JOIN dbo.tarCustomer ON dbo.tarCustAddr.AddrKey = dbo.tarCustomer.PrimaryAddrKey INNER JOIN dbo.tciPaymentTerms ON dbo.tarCustAddr.PmtTermsKey = dbo.tciPaymentTerms.PmtTermsKey INNER JOIN dbo.tciContact ON dbo.tarCustomer.PrimaryCntctKey = dbo.tciContact.CntctKeyORDER BY CustID
SELECT Customer_id, Customer_Name, Billing_Address, Billing_City, Billing_State, Billing_Zip, Method_of_payment, Phone_Number, Fax_Number, Email_AddressFROM EZGoes.dbo.Customer_InformationORDER BY Customer_id
BCrowe