Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9229243
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T05:31:25+00:00 2026-06-18T05:31:25+00:00

Using Redgate SQL Data Compare 9. This is a simplified example of what I

  • 0

Using Redgate SQL Data Compare 9.

This is a simplified example of what I want to do. I have the following tables:

Product (ProductId, ProductName)         
ProductDetail (ProductDetailId, ProductId, OtherField)

Id columns in both tables are primary keys and auto-increment (identity). Product has a unique constraint on ProductName. I have a production system and a test system, and would like to use Data Compare to sync the ProductDetail tables of the two systems.

The problem is that the two systems’ id columns are not synchronized. A product called “Bananas” could have an Id of 1000 in production and an Id of 6 in test.

What I would like to do is compare using a join–so instead of using a key made up of only columns in the ProductDetail table, I could compare based on a combination of fields using both the Product and ProductDetail tables.

I don’t see any way of having more than one table participate in a comparison in the Data Compare UI. Is what I’m trying to achieve possible?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-18T05:31:26+00:00Added an answer on June 18, 2026 at 5:31 am

    using a query with the desired join condition, create a table with the results on each db and use rg to compare those tables

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am writing a program using RedGate SQL Compare that syncs data between nodes
I have been using SQL Compare by Redgate at my company and was very
I have 3 SQL Sever databases using RedGate SQL Source Control with SVN. When
I have several libraries that I want to obfuscate and embed using RedGate's SmartAssembly.
So I have this VB.Net Application. It uses SQL Server database, for which it
I have been using the block of code below to supposedly stop sql injections.
I am using SQL-Server 2005. I have a dev and prod database that have
Using this code, the following execution yields strange results: C 100 R W The
We are planning on using Red Gate SQL Source Control , but have not
I'm a beginner in C# and SQL, i have this SQL insert statement that

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.