通常使用alter table table_name drop primary key(column_name)

但是经常出问题原因暂不明了
使用如下方法
select name from sysindexes where id=object_id('student') //获取索引名字
alter table table_name drop constraint PK__student__79A81403
posted on 2008-02-18 16:17  许维光  阅读(257)  评论(0)    收藏  举报