27,579
社区成员
发帖
与我相关
我的任务
分享
sp_helpindex 表名 --找到各索引
drop index 表名.索引名 --删除索引
create index 索引名on 表名(字段1,字段2...) --创建非聚集复合索引
create unique clustered index 索引名 on 表名(字段名) --创建唯一聚集索引
alter database 库名 set single_user
dbcc checktable('表名',repair_allow_data_loss)
alter database 库名 set multi_user