sql server 2005 设置用于复制的文本类型大小
1.当应用复制一段时间后,碰到了这样一个问题,在插入nvarchar(max)类型的字段值时,报异常"Length of LOB data (92472) to be replicated exceeds configured maximum 65536. The statement has been terminated." (“要复制的 LOB 数据的长度(92472)超出了配置的最大值 65536。语句已终止。”)经过查找一番资料,发现服务器配置选项里有一项”Max Text Repl> 通过SELECT * FROM sys.configurations WHERE NAME LIKE '%repl%'
查询得到max text repl> 例如:
EXEC sp_configure 'show advanced options', 1
go
sp_configure 'max text repl> go
RECONFIGURE
页:
[1]