加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 站长学院 > MsSql教程 > 正文

sql-server – 警告!最大密钥长度为900字节.索引的最大长度为10

发布时间:2020-12-12 16:27:43 所属栏目:MsSql教程 来源:网络整理
导读:我将db脚本从64位系统传输到32位系统.当我执行脚本,它给我以下错误, Warning! The maximum key length is 900 bytes. The index ‘UQ__Users__7E800015145C0A3F’ has maximum length of 1000 bytes. For some combination of large values,the insert/update
我将db脚本从64位系统传输到32位系统.当我执行脚本,它给我以下错误,

Warning! The maximum key length is 900 bytes. The index
‘UQ__Users__7E800015145C0A3F’ has maximum length of 1000 bytes. For
some combination of large values,the insert/update operation will
fail.

Google结果和Stack Overflow问题无助于解决这个问题.

解决方法

看来你正在运行Microsoft SQL Server.查看 Microsoft: Maximum Size of Index Keys有关此主题的更多信息.或相关答案: 900 byte index size limit in character length

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读