我试图在一个包含URL的列上放置一个索引.由于URL的最大长度超过2000个字符,我将数据类型设置为NVARCHAR(3000).当我这样做时,我得到了错误 The total size of an index or primary key cannot exceed 900 bytes.由于我可能需要通过URL搜索记录,因此我需要在我的URL列上添加索引.有没有解决这个限制的方法?
The total size of an index or primary key cannot exceed 900 bytes
sql-server-2008
sql-server-2008 ×1