使用不同模式同步表(#和列名不匹配) [英] Sync tables with different schemas (# and names of columns don't match)

查看:71
本文介绍了使用不同模式同步表(#和列名不匹配)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我想同步两个SQL 2005 Server数据库的两个表。在这种情况下,整个架构是不同的(不同的列数和不同的主键)。是否可以定义哪些列匹配?

I want to syncronize two tables of two SQL 2005 Server databases. In this scenario the entire schema is different (different # of columns and different primary keys). Is it possible to define which columns match?

例如

[用户] .LastName = [Dudes] .FamilyName

[Users].LastName = [Dudes].FamilyName

还是有其他办法可以解决这个问题吗?关于这个主题的教程会很棒。

or is there an other way so solve this issue? A tutorial about this topic would be great.

谢谢你们,
Philipp

Thanks
Philipp

推荐答案

Hello Philipp,

Hello Philipp,

通过为每个表分配全局名称,可以通过表映射支持不同的表名,但Sync Framework不支持

Different table names can be supported through table mapping by assigning global name to each table, but Sync Framework does not support

具有不同模式的两个表之间的同步。

synchronization between two tables that have different schema's.

谢谢,

Patrick 

Patrick 


这篇关于使用不同模式同步表(#和列名不匹配)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆