| Author |
Message |
Rawden
Joined: 07 Nov 2006 Posts: 23
|
Posted: Mon Sep 21, 2009 11:33 am Post subject: Change DataCompare Comparison Key |
|
|
Hi,
In SQL Data Compare, you have the option of changing the Comparision Key from the primary key to something else.
I'm just looking for some help to enable me to do this in the SDK.
Would I still create the mappings:
dbMappings.CreateMappings(dbSource.Tables, dbDest.Tables)
and then change the key afterwards, or would I change this to something else? |
|
| Back to top |
|
 |
Brian Donahue
Joined: 23 Aug 2004 Posts: 6346 Location: Red Gate Software
|
Posted: Tue Sep 22, 2009 4:22 pm Post subject: |
|
|
Hi Rawden,
Using the SDK, you can use the automatically-created mappings as a starting point and modify them by setting MatchingMappings, or you can create the table and column mappings from scratch. The following examples illustrate these:
Modifying automatically-created mappings
Creating mappings manually _________________ Brian Donahue
Technical Support
Red Gate Software Ltd.
44 (0)870 160 0037 ext 8521
US and CAN 1-866-RED GATE ext 8521 |
|
| Back to top |
|
 |
|
|
All times are GMT + 1 Hour
|
| Page 1 of 1 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group