通常使用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
但是经常出问题原因暂不明了
使用如下方法
select name from sysindexes where id=object_id('student') //获取索引名字
alter table table_name drop constraint PK__student__79A81403
浙公网安备 33010602011771号