Merge two tables

Forum for users of SQL Compare schema synchronization utility

Merge two tables

Postby jmontani » Thu Jul 05, 2012 5:00 pm

Is it possible to merge two tables?
Let say I have table A with columns A; X; Y and Z and table B with columns B; X; Y and Z.
When synchronizing from table A to table B column A is going to be added but column B is going to be dropped.
What I want is to keep column B in table B and just add column A.
Is there anyway to do so?
Posts: 1
Joined: Fri Apr 29, 2011 4:24 pm

Postby eddie davis » Mon Jul 09, 2012 1:23 pm


Thank you for your post into the forum.

Unfortunately what you are seeking cannot be achieved within SQL Compare. SQL Compare does not perform any merging process, it is designed to compare two data sources and make them identical.

The only work around I can think off is to use SQL Compare to perform the comparison. Generate a deployment script and modify it to suit your needs.

Many Thanks
Eddie Davis
Technical Support Engineer
Red Gate Software Ltd
eddie davis
Posts: 1146
Joined: Wed Jun 14, 2006 2:47 pm
Location: Red Gate Software

Return to SQL Compare Previous Versions

Who is online

Users browsing this forum: No registered users and 0 guests