SQL 服务器 2014 事务复制
SQL server 2014 Transaction Replication
我正在尝试将数据类型为 char(10)
的列复制到数据类型为 char(30)
的另一列
在应用快照时我收到一条错误消息
"Field Size too large"
根据我的理解,发布者的大小小于订阅者,那么为什么会出现此错误?
我尝试在互联网上查找,但也找不到太多帮助。
MSDN forum 指出了类似的解决方案:
I had this same problem. In comparing the schema of the table in both
the publisher and subscriber, they appeared to be identical. However,
I had to drop the table on the subscriber and recreate it using a
create table script generated on the publisher. Once I did that, the
snapshot proceeded without any more errors. HTH.
我正在尝试将数据类型为 char(10)
的列复制到数据类型为 char(30)
在应用快照时我收到一条错误消息
"Field Size too large"
根据我的理解,发布者的大小小于订阅者,那么为什么会出现此错误?
我尝试在互联网上查找,但也找不到太多帮助。
MSDN forum 指出了类似的解决方案:
I had this same problem. In comparing the schema of the table in both the publisher and subscriber, they appeared to be identical. However, I had to drop the table on the subscriber and recreate it using a create table script generated on the publisher. Once I did that, the snapshot proceeded without any more errors. HTH.