当前位置: 移动技术网 > IT编程>数据库>MSSQL > MSSQL 数据库 buildindex 出错

MSSQL 数据库 buildindex 出错

2018年08月29日  | 移动技术网IT编程  | 我要评论

包养老公,领导班子 小说,张一一博客

错误1:

executing the query "alter index [ix_liveconfigstate_service_serviceid_..." failed with the following error: "the index "ix_liveconfigstate_service_serviceid_grouprightsversion" on table "liveconfigstate_service" cannot be reorganized because page level locking is disabled.". possible failure reasons: problems with the query, "resultset" property not set correctly, parameters not set correctly, or connection not established correctly.

 

解决方案:

query the indexes and tables list with follow query, then enable their(index) page lock setting from property setting dialog.

 

select object_name(i.object_id) as tablename ,

name as indexname ,

allow_page_locks 

from sys.indexes as i

where allow_page_locks = 0

正常应该只有如下三条记录:

 reference page:

如对本文有疑问,请在下面进行留言讨论,广大热心网友会与你互动!! 点击进行留言回复

相关文章:

验证码:
移动技术网