找到方法了: sp_helpindex objname 一下子就看出了主键和索引的名字 删除主键用 alter table drop constraint PK_name 删除索引用 drop index tablename.indexname